xmlwf: Address Clang 13 warning -Wunused-but-set-variable

This commit is contained in:
Sebastian Pipping 2021-12-26 19:43:49 +01:00
parent 9542ad2471
commit c2b5d52404
2 changed files with 3 additions and 1 deletions

View file

@ -4,7 +4,7 @@ NOTE: We are looking for help with a few things:
Release x.x.x xxx xxxxxxxx xx xxxx
Other changes:
#527 Address compiler warnings
#527 #528 Address compiler warnings
Release 2.4.2 Sun December 19 2021
Other changes:

View file

@ -1128,6 +1128,8 @@ tmain(int argc, XML_Char **argv) {
#ifdef XML_DTD
XML_SetBillionLaughsAttackProtectionActivationThreshold(
parser, attackThresholdBytes);
#else
(void)attackThresholdBytes; // silence -Wunused-but-set-variable
#endif
}