]> granicus.if.org Git - libexpat/commitdiff
Remove unused variable and fix comment. No functional changes.
authorRhodri James <rhodri@kynesim.co.uk>
Tue, 31 Jan 2017 18:06:50 +0000 (18:06 +0000)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 14 Feb 2017 22:45:32 +0000 (23:45 +0100)
expat/tests/runtests.c

index d494a66f62e10b4b98393335c60d7e6cf090a71f..fe3ead265a2bf27b86c7c3bcbddeae053fed7816 100644 (file)
@@ -1634,7 +1634,6 @@ external_entity_duff_loader(XML_Parser parser,
                             const XML_Char *UNUSED_P(systemId),
                             const XML_Char *UNUSED_P(publicId))
 {
-    char *text = (char *)XML_GetUserData(parser);
     XML_Parser new_parser;
     unsigned int i;
 
@@ -1661,7 +1660,7 @@ external_entity_duff_loader(XML_Parser parser,
     return XML_STATUS_ERROR;
 }
 
-/* Test than external parser creation running out of memory is
+/* Test that external parser creation running out of memory is
  * correctly reported.  Based on the external entity test cases.
  */
 START_TEST(test_alloc_create_external_parser)