remove unused xml_i function

This commit is contained in:
Enno Rehling 2015-09-11 11:08:10 +02:00
parent cf08cdf3fb
commit d15d0cc0f4
2 changed files with 0 additions and 9 deletions

View File

@ -28,13 +28,6 @@
#include <ctype.h>
#ifdef USE_LIBXML2
const xmlChar *xml_i(double number)
{
static char buffer[128]; // FIXME: static return value
_snprintf(buffer, sizeof(buffer), "%.0f", number);
return (const xmlChar *)buffer;
}
int xml_ivalue(xmlNodePtr node, const char *name, int dflt)
{
int i = dflt;

View File

@ -26,8 +26,6 @@ extern "C" {
extern double xml_fvalue(xmlNodePtr node, const char *name, double dflt);
extern int xml_ivalue(xmlNodePtr node, const char *name, int dflt);
extern bool xml_bvalue(xmlNodePtr node, const char *name, bool dflt);
const xmlChar *xml_i(double number);
#endif
extern int read_xml(const char *filename, const char *catalog);