diff --git a/ChangeLog b/ChangeLog index fc549b2f0b..1ca93a6cf3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Fri Feb 22 13:32:11 CET 2008 Jim Meyering + With --enable-iptables-lokkit=no, avoid warning about unused parameter. + * src/iptables.c (iptRulesSave) [!ENABLE_IPTABLES_LOKKIT]: + Mark parameter as used. + With --without-xen, avoid warning about unused function. * tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define. diff --git a/src/iptables.c b/src/iptables.c index 04b1da6936..f9707010b3 100644 --- a/src/iptables.c +++ b/src/iptables.c @@ -256,6 +256,8 @@ iptRulesSave(iptRules *rules) notifyRulesUpdated(rules->table, rules->path); else notifyRulesRemoved(rules->table, rules->path); +#else + (void) rules; #endif /* ENABLE_IPTABLES_LOKKIT */ }