From 6e79e1f5340625227d80bcd3aee57effb06cde53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Wed, 11 Dec 2013 21:51:30 +0000 Subject: =?UTF-8?q?Fix=20svn/trunk/epan/dissectors/packet-netlink-netfilte?= =?UTF-8?q?r.c:164:11:=20error:=20variable=20=E2=80=98is=5Freq=E2=80=99=20?= =?UTF-8?q?set=20but=20not=20used=20[-Werror=3Dunused-but-set-variable]=20?= =?UTF-8?q?=20=20gboolean=20is=5Freq;=20=20=20=20=20=20=20=20=20=20=20=20^?= =?UTF-8?q?=20cc1:=20all=20warnings=20being=20treated=20as=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=53951 --- epan/dissectors/packet-netlink-netfilter.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'epan/dissectors/packet-netlink-netfilter.c') diff --git a/epan/dissectors/packet-netlink-netfilter.c b/epan/dissectors/packet-netlink-netfilter.c index 8e9b05871f..633a41958c 100644 --- a/epan/dissectors/packet-netlink-netfilter.c +++ b/epan/dissectors/packet-netlink-netfilter.c @@ -161,8 +161,6 @@ dissect_netlink_netfilter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, v netlink_netfilter_info_t info; int offset; - gboolean is_req; - if (_data) { if (((struct packet_netlink_data *) _data)->magic == PACKET_NETLINK_MAGIC) data = (struct packet_netlink_data *) _data; @@ -184,8 +182,6 @@ dissect_netlink_netfilter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, v info.pinfo = pinfo; info.data = data; - is_req = (pinfo->p2p_dir == P2P_DIR_RECV); - offset = 0; switch (data->type >> 8) { -- cgit v1.2.3