mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-08 06:29:23 +00:00
tests: Silence cppcheck false positive (fixes #284)
This commit is contained in:
parent
987b9f9758
commit
c5b3ce0932
1 changed files with 1 additions and 0 deletions
|
@ -4973,6 +4973,7 @@ external_entity_public(XML_Parser parser,
|
|||
}
|
||||
else
|
||||
fail("Unexpected parameters to external entity parser");
|
||||
assert(text != NULL);
|
||||
parse_res = _XML_Parse_SINGLE_BYTES(ext_parser, text, (int)strlen(text),
|
||||
XML_TRUE);
|
||||
XML_ParserFree(ext_parser);
|
||||
|
|
Loading…
Add table
Reference in a new issue