summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--expat/Changes2
-rw-r--r--expat/xmlwf/xmlwf.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/expat/Changes b/expat/Changes
index af5e3cdb..51cbaa2d 100644
--- a/expat/Changes
+++ b/expat/Changes
@@ -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:
diff --git a/expat/xmlwf/xmlwf.c b/expat/xmlwf/xmlwf.c
index 342d6c59..29118bb6 100644
--- a/expat/xmlwf/xmlwf.c
+++ b/expat/xmlwf/xmlwf.c
@@ -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
}