diff options
author | Aron Xu <aron@debian.org> | 2012-09-18 01:15:22 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2012-09-18 01:15:22 +0800 |
commit | f660f9d2924c7549bc87e7f9b4ece7c9727b3682 (patch) | |
tree | 816b3ef0e89d1601803b5dc1b90b50ade0567043 /testrecurse.c | |
parent | d7372d053bbd1d58216fbb04d1771ffa4cc3e624 (diff) | |
download | libxml2-f660f9d2924c7549bc87e7f9b4ece7c9727b3682.tar.gz |
Imported Upstream version 2.9.0upstream/2.9.0
Diffstat (limited to 'testrecurse.c')
-rw-r--r-- | testrecurse.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/testrecurse.c b/testrecurse.c index bdc7c30..e5d5d1b 100644 --- a/testrecurse.c +++ b/testrecurse.c @@ -10,11 +10,8 @@ * daniel@veillard.com */ -#ifdef HAVE_CONFIG_H #include "libxml.h" -#else #include <stdio.h> -#endif #if !defined(_WIN32) || defined(__CYGWIN__) #include <unistd.h> @@ -149,10 +146,6 @@ static void globfree(glob_t *pglob) { } } -#if !defined(__MINGW32__) -#define vsnprintf _vsnprintf -#define snprintf _snprintf -#endif #else #include <glob.h> #endif @@ -687,12 +680,10 @@ recursiveDetectTest(const char *filename, xmlDocPtr doc; xmlParserCtxtPtr ctxt; int res = 0; - int mem; nb_tests++; ctxt = xmlNewParserCtxt(); - mem = xmlMemUsed(); /* * base of the test, parse with the old API */ @@ -728,12 +719,10 @@ notRecursiveDetectTest(const char *filename, xmlDocPtr doc; xmlParserCtxtPtr ctxt; int res = 0; - int mem; nb_tests++; ctxt = xmlNewParserCtxt(); - mem = xmlMemUsed(); /* * base of the test, parse with the old API */ |