aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_gm.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2012-05-21 00:23:13 +0000
committerJörg Mayer <jmayer@loplof.de>2012-05-21 00:23:13 +0000
commitd40cea2e7bfc5bb4a20c4e6493c77c67131307ad (patch)
treea680f68a943f3e946f95c163710590ef18917fa1 /epan/dissectors/packet-gsm_a_gm.c
parent0b6c88942baa6576799e85012ecaa35d0042f9cb (diff)
Two cases where gcc has problems to detect that a specific specific
variable may not be used uninitialized. svn path=/trunk/; revision=42731
Diffstat (limited to 'epan/dissectors/packet-gsm_a_gm.c')
-rw-r--r--epan/dissectors/packet-gsm_a_gm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_a_gm.c b/epan/dissectors/packet-gsm_a_gm.c
index 7c0a25a6f0..0ad5871da6 100644
--- a/epan/dissectors/packet-gsm_a_gm.c
+++ b/epan/dissectors/packet-gsm_a_gm.c
@@ -3486,7 +3486,7 @@ de_gc_timer2(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 of
guint8 oct;
guint16 val;
guint32 curr_offset;
- const gchar *str;
+ const gchar *str = NULL;
proto_tree *subtree;
proto_item *item = NULL;
@@ -3542,7 +3542,7 @@ de_gc_timer3(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 of
guint8 oct;
guint16 val;
guint32 curr_offset;
- const gchar *str;
+ const gchar *str = NULL;
proto_tree *subtree;
proto_item *item = NULL;