diff options
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r-- | core/parse-xml.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c index f1da26e9a..372e81008 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -29,7 +29,6 @@ int verbose, quit, force_root; int last_xml_version = -1; -int diveid = -1; static xmlDoc *test_xslt_transforms(xmlDoc *doc, const char **params); @@ -1886,18 +1885,6 @@ extern int divinglog_cylinder(void *handle, int columns, char **data, char **col return 0; } -static int atoi_n(char *ptr, unsigned int len) -{ - if (len < 10) { - char buf[10]; - - memcpy(buf, ptr, len); - buf[len] = 0; - return atoi(buf); - } - return 0; -} - extern int divinglog_profile(void *handle, int columns, char **data, char **column) { (void) handle; |