xml_lpm_fuzzer: Resolve unused function parameter

This commit is contained in:
Sebastian Pipping 2025-02-02 01:22:05 +01:00
parent 4962f317d2
commit d7736d9cfa

View file

@ -140,7 +140,7 @@ static void TouchString(const XML_Char* ptr, int len=-1) {
}
}
static void TouchNodeAndRecurse(XML_Content* content, bool topLevel=true) {
static void TouchNodeAndRecurse(XML_Content* content) {
switch (content->type) {
case XML_CTYPE_EMPTY:
case XML_CTYPE_ANY:
@ -181,7 +181,7 @@ static void TouchNodeAndRecurse(XML_Content* content, bool topLevel=true) {
|| (content->quant == XML_CQUANT_PLUS));
assert(content->name == NULL);
for (int i = 0; i < content->numchildren; ++i) {
TouchNodeAndRecurse(&content->children[i], false);
TouchNodeAndRecurse(&content->children[i]);
}
break;