From 1da8351b114bf50de56d419645f29bad32d80354 Mon Sep 17 00:00:00 2001 From: Phil Oester Date: Mon, 3 Jul 2006 18:20:59 +0000 Subject: iptables trivial compile warning cleanup (Phil Oester ) 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. --- extensions/libipt_dscp_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libipt_dscp_helper.c') 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 -- cgit v1.2.3