forked from github/server
remove unused xml_i function
This commit is contained in:
parent
cf08cdf3fb
commit
d15d0cc0f4
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue