From d2269ce7d563c9343f4b71da4cd09bc6fb5080e7 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Sun, 19 Jun 2011 18:47:35 +0000 Subject: Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. svn path=/trunk/; revision=37716 --- epan/dissectors/packet-gsm_a_gm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'epan/dissectors/packet-gsm_a_gm.c') diff --git a/epan/dissectors/packet-gsm_a_gm.c b/epan/dissectors/packet-gsm_a_gm.c index ed8f516239..e0c0f0927d 100644 --- a/epan/dissectors/packet-gsm_a_gm.c +++ b/epan/dissectors/packet-gsm_a_gm.c @@ -3794,11 +3794,9 @@ static guint16 de_sm_pdp_addr(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_) { guint32 curr_offset; - guint curr_len; const gchar *str; guchar pdp_type_org, pdp_type_num; - curr_len = len; curr_offset = offset; proto_tree_add_bits_item(tree, hf_gsm_a_spare_bits, tvb, (curr_offset << 3), 4, ENC_BIG_ENDIAN); -- cgit v1.2.3