aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gsm_map.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-21 21:41:10 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-21 21:41:10 +0000
commita38e896d2719801cd015324e0e59da58b0825d08 (patch)
treefb53bb01b0939c312d4a0ffa67b8778f1ea04371 /packet-gsm_map.c
parent4f42fbc33c14676aeaaed06c235ba0bc281eb367 (diff)
In the MLUM-is-defined code path, "idx" is set - the only issue is if
MLUM isn't defined (which it isn't, by default). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9397 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-gsm_map.c')
-rw-r--r--packet-gsm_map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-gsm_map.c b/packet-gsm_map.c
index dcc20afffd..55c4a208e9 100644
--- a/packet-gsm_map.c
+++ b/packet-gsm_map.c
@@ -7,7 +7,7 @@
* Changed to run on new version of TCAP, many changes for
* EOC matching, and parameter separation. (2003)
*
- * $Id: packet-gsm_map.c,v 1.3 2003/12/21 12:08:35 ulfl Exp $
+ * $Id: packet-gsm_map.c,v 1.4 2003/12/21 21:41:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -522,8 +522,7 @@ op_send_auth_info(ASN1_SCK *asn1, proto_tree *tree)
proto_item *item_tree[100], *item;
proto_tree *seq_tree[100], *use_tree, *subtree;
gchar *str = NULL;
- gint ett_param_idx;
- gint idx = 0;
+ gint ett_param_idx, idx;
num_seq = 0;
use_tree = tree;
@@ -591,6 +590,7 @@ op_send_auth_info(ASN1_SCK *asn1, proto_tree *tree)
str = my_match_strval((guint32) tag, param_1_strings, &idx);
#else
str = NULL;
+ idx = 0;
#endif
if (str == NULL)