mirror of
https://github.com/GNOME/libxml2.git
synced 2025-05-08 21:07:54 +08:00
Small cleanup of unused variables in test
This commit is contained in:
parent
9ee02f80a4
commit
b60e612e87
@ -687,12 +687,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 +726,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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user