mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 21:24:59 +00:00
xmlwf: Address Clang 13 warning -Wunused-but-set-variable
This commit is contained in:
parent
9542ad2471
commit
c2b5d52404
2 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue