summaryrefslogtreecommitdiffstats
path: root/filter/raw2packet/ulogd_raw2packet_BASE.c
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-07-29 12:24:18 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-07-29 12:24:18 +0200
commit9fdec30e232e74e103d80049e0772f2d619574cb (patch)
tree2accb1df1bf455458c16023f189bb730f6085fd1 /filter/raw2packet/ulogd_raw2packet_BASE.c
parentcd8abed46eff3683a5d81e500673df5e80e2a353 (diff)
cleanup: fix gcc warnings
This patch fixes some gcc warnings: * Unused variables * Functions with wrong return (or without return) Signed-off-by: Eric Leblond <eric@inl.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'filter/raw2packet/ulogd_raw2packet_BASE.c')
-rw-r--r--filter/raw2packet/ulogd_raw2packet_BASE.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/filter/raw2packet/ulogd_raw2packet_BASE.c b/filter/raw2packet/ulogd_raw2packet_BASE.c
index dde1cf3..7c6fd26 100644
--- a/filter/raw2packet/ulogd_raw2packet_BASE.c
+++ b/filter/raw2packet/ulogd_raw2packet_BASE.c
@@ -920,9 +920,6 @@ static int _interp_arp(struct ulogd_pluginstance *pi, u_int32_t len)
static int _interp_bridge(struct ulogd_pluginstance *pi, u_int32_t len)
{
- struct ulogd_key *ret = pi->output.keys;
- const struct sk_buff *skb =
- GET_VALUE(pi->input.keys, INKEY_RAW_PCKT).ptr;
const u_int16_t proto =
GET_VALUE(pi->input.keys, INKEY_OOB_PROTOCOL).ui16;