summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_dscp_helper.c
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2006-07-03 18:20:59 +0000
committerPatrick McHardy <kaber@trash.net>2006-07-03 18:20:59 +0000
commit1da8351b114bf50de56d419645f29bad32d80354 (patch)
tree4a52befa2606aa4306a020ac72e8cc8423ed957d /extensions/libipt_dscp_helper.c
parent45ce294b43b8eb49948da7ec1defea4300bc61cc (diff)
iptables trivial compile warning cleanup (Phil Oester <kernel@linuxace.com>)
Cleanup a few compile warnings in latest snapshot: extensions/libipt_dscp_helper.c:69: warning: 'dscp_to_name' defined but not used extensions/libipt_sctp.c: In function 'print_chunks': extensions/libipt_sctp.c:465: warning: value computed is not used extensions/libipt_sctp.c:477: warning: value computed is not used Resolves bug #457.
Diffstat (limited to 'extensions/libipt_dscp_helper.c')
-rw-r--r--extensions/libipt_dscp_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_dscp_helper.c b/extensions/libipt_dscp_helper.c
index 0279670b..31adb6cd 100644
--- a/extensions/libipt_dscp_helper.c
+++ b/extensions/libipt_dscp_helper.c
@@ -63,7 +63,7 @@ class_to_dscp(const char *name)
}
-
+#if 0
static const char *
dscp_to_name(unsigned int dscp)
{
@@ -78,5 +78,5 @@ dscp_to_name(unsigned int dscp)
exit_error(PARAMETER_PROBLEM,
"Invalid DSCP value `%d'\n", dscp);
}
-
+#endif