diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-06-19 18:47:35 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-06-19 18:47:35 +0000 |
commit | d2269ce7d563c9343f4b71da4cd09bc6fb5080e7 (patch) | |
tree | 1bb1d49e5bd617abce454558411c1a7e0c4c4722 /epan/dissectors/packet-tn3270.c | |
parent | dfdeeb559535e20b78112405baf3d4f87fe2a961 (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-tn3270.c')
-rw-r--r-- | epan/dissectors/packet-tn3270.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tn3270.c b/epan/dissectors/packet-tn3270.c index 43182ce78e..a3af20b553 100644 --- a/epan/dissectors/packet-tn3270.c +++ b/epan/dissectors/packet-tn3270.c @@ -4997,7 +4997,6 @@ dissect_tn3270(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *tn3270_tree; proto_item *ti; gint offset = 0; - gint tn3270_cmd = 0; conversation_t *conversation; tn3270_conv_info_t *tn3270_info = NULL; @@ -5026,7 +5025,6 @@ dissect_tn3270(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset += dissect_tn3270e_header(tn3270_tree, tvb, offset); } while (tvb_offset_exists(tvb, offset)) { - tn3270_cmd = tvb_get_guint8(tvb, offset); if (pinfo->srcport == tn3270_info->outbound_port) { col_set_str(pinfo->cinfo, COL_INFO, "TN3270 Data from Mainframe"); offset += dissect_outbound_stream(tn3270_tree, tvb, offset); |