aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-stat.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-06-19 18:47:35 +0000
committerBill Meier <wmeier@newsguy.com>2011-06-19 18:47:35 +0000
commitd2269ce7d563c9343f4b71da4cd09bc6fb5080e7 (patch)
tree1bb1d49e5bd617abce454558411c1a7e0c4c4722 /epan/dissectors/packet-stat.c
parentdfdeeb559535e20b78112405baf3d4f87fe2a961 (diff)
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=37716
Diffstat (limited to 'epan/dissectors/packet-stat.c')
-rw-r--r--epan/dissectors/packet-stat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-stat.c b/epan/dissectors/packet-stat.c
index f5a0f74e40..a6efc5a58b 100644
--- a/epan/dissectors/packet-stat.c
+++ b/epan/dissectors/packet-stat.c
@@ -122,7 +122,6 @@ dissect_stat_stat_res(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_t
proto_item* sub_item = NULL;
proto_tree* sub_tree = NULL;
gint32 res;
- gint32 state;
if (tree) {
sub_item = proto_tree_add_item(tree, hf_stat_stat_res, tvb,
@@ -135,7 +134,6 @@ dissect_stat_stat_res(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_t
offset = dissect_rpc_uint32(tvb,sub_tree,hf_stat_stat_res_res,offset);
if (res==STAT_SUCC) {
- state = tvb_get_ntohl(tvb, offset);
offset = dissect_rpc_uint32(tvb,sub_tree,hf_stat_stat_res_state,offset);
} else {
offset += 4;