Author: scantor
Date: Thu Jul  6 19:30:44 2017
New Revision: 1801098

URL: http://svn.apache.org/viewvc?rev=1801098&view=rev
Log:
Fix unused variable warnings.

Modified:
    xerces/c/trunk/samples/src/PSVIWriter/PSVIWriter.cpp

Modified: xerces/c/trunk/samples/src/PSVIWriter/PSVIWriter.cpp
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/samples/src/PSVIWriter/PSVIWriter.cpp?rev=1801098&r1=1801097&r2=1801098&view=diff
==============================================================================
--- xerces/c/trunk/samples/src/PSVIWriter/PSVIWriter.cpp (original)
+++ xerces/c/trunk/samples/src/PSVIWriter/PSVIWriter.cpp Thu Jul  6 19:30:44 
2017
@@ -224,12 +224,6 @@ int main(int argC, char* argV[])
        parser->setXMLEntityResolver(handler);
     parser->setErrorHandler(handler);
 
-    //
-    //  Get the starting time and kick off the parse of the indicated
-    //  file. Catch any exceptions that might propogate out of it.
-    //
-    unsigned long duration;
-
     bool more = true;
     XERCES_STD_QUALIFIER ifstream fin;
 
@@ -294,10 +288,7 @@ int main(int argC, char* argV[])
 
         try
         {
-            const unsigned long startMillis = 
XMLPlatformUtils::getCurrentMillis();
             parser->parse(xmlFile);
-            const unsigned long endMillis = 
XMLPlatformUtils::getCurrentMillis();
-            duration = endMillis - startMillis;
         }
         catch (const OutOfMemoryException&)
         {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to