aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sccpmg.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-sccpmg.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-sccpmg.c')
-rw-r--r--epan/dissectors/packet-sccpmg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sccpmg.c b/epan/dissectors/packet-sccpmg.c
index 245dd2f305..374ae45e4d 100644
--- a/epan/dissectors/packet-sccpmg.c
+++ b/epan/dissectors/packet-sccpmg.c
@@ -209,11 +209,9 @@ static void
dissect_sccpmg_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccpmg_tree)
{
guint8 message_type;
- guint8 offset = 0;
/* Extract the message type; all other processing is based on this */
message_type = tvb_get_guint8(tvb, SCCPMG_MESSAGE_TYPE_OFFSET);
- offset = SCCPMG_MESSAGE_TYPE_LENGTH;
if (check_col(pinfo->cinfo, COL_INFO))
col_add_fstr(pinfo->cinfo, COL_INFO, "%s ", val_to_str(message_type, sccpmg_message_type_acro_values, "Unknown"));