From c255db639317852a4ba691c566a62993d0958018 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Thu, 10 Jan 2013 20:38:45 +0100 Subject: fix compile warning --- libarptc/libarptc_incl.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libarptc/libarptc_incl.c') diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c index 6322ba3..2fa3d43 100644 --- a/libarptc/libarptc_incl.c +++ b/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 -- cgit v1.2.3