summaryrefslogtreecommitdiffstats
path: root/userspace/arptables/libarptc
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2013-01-10 20:38:45 +0100
committerBart De Schuymer <bdschuym@pandora.be>2013-01-10 20:38:45 +0100
commit372dd7caab8e81a8ca4d43feb9e3ca0ac5da58c8 (patch)
tree6286e63bbc5be9cc97b0aec24d7496e24ac06729 /userspace/arptables/libarptc
parent0b86255150ebbaf4b71ddff937f321dcf3c0dce0 (diff)
fix compile warning
Diffstat (limited to 'userspace/arptables/libarptc')
-rw-r--r--userspace/arptables/libarptc/libarptc_incl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/userspace/arptables/libarptc/libarptc_incl.c b/userspace/arptables/libarptc/libarptc_incl.c
index 6322ba3..2fa3d43 100644
--- a/userspace/arptables/libarptc/libarptc_incl.c
+++ b/userspace/arptables/libarptc/libarptc_incl.c
@@ -1248,7 +1248,6 @@ TC_ZERO_COUNTER(const ARPT_CHAINLABEL chain,
unsigned int rulenum,
TC_HANDLE_T *handle)
{
- STRUCT_ENTRY *e;
struct chain_cache *c;
unsigned int chainindex, end;
@@ -1268,8 +1267,6 @@ TC_ZERO_COUNTER(const ARPT_CHAINLABEL chain,
return 0;
}
- e = index2entry(*handle, chainindex + rulenum);
-
if ((*handle)->counter_map[chainindex + rulenum].maptype
== COUNTER_MAP_NORMAL_MAP) {
(*handle)->counter_map[chainindex + rulenum].maptype