diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-12-11 21:51:30 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-12-11 21:51:30 +0000 |
commit | 6e79e1f5340625227d80bcd3aee57effb06cde53 (patch) | |
tree | 88c284170ecf2add9933b40a321588c9332046fb /epan | |
parent | 57e66ad446e4e31c337dcb1269f62d08da5a90ae (diff) |
Fix
svn/trunk/epan/dissectors/packet-netlink-netfilter.c:164:11: error: variable ‘is_req’ set but not used [-Werror=unused-but-set-variable]
gboolean is_req;
^
cc1: all warnings being treated as errors
svn path=/trunk/; revision=53951
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-netlink-netfilter.c | 4 |
1 files changed, 0 insertions, 4 deletions
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) { |