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-tn5250.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-tn5250.c')
-rw-r--r-- | epan/dissectors/packet-tn5250.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tn5250.c b/epan/dissectors/packet-tn5250.c index c029bf6ab9..eb7f84e6b2 100644 --- a/epan/dissectors/packet-tn5250.c +++ b/epan/dissectors/packet-tn5250.c @@ -3078,7 +3078,6 @@ static guint32 dissect_start_of_header(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset) { int start = offset; - int length = 0; /*TODO: Warn on invalid length. <= 7 */ static const int *byte[] = { @@ -3121,7 +3120,6 @@ dissect_start_of_header(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset) { 0, 0, 0, 0 } }; - length = tvb_get_guint8(tvb, offset); offset += tn5250_add_hf_items(tn5250_tree, tvb, offset, start_of_header_fields); |