[libxml2] Small cleanup of unused variables in test



commit b60e612e878a8d7b7d5515a9a286c4778da80534
Author: Daniel Veillard <veillard redhat com>
Date:   Wed Jul 18 16:21:17 2012 +0800

    Small cleanup of unused variables in test

 testrecurse.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/testrecurse.c b/testrecurse.c
index bdc7c30..5cfcc2c 100644
--- a/testrecurse.c
+++ b/testrecurse.c
@@ -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
      */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]