aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_sms.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-12 14:29:48 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-12 14:29:48 +0000
commit73262e1750a74202f7eff19a21a0fde8a080b536 (patch)
tree5e30be4c744df7d5976b10c759e77a790dfa8204 /epan/dissectors/packet-gsm_sms.c
parent62742cfa4107731b71e4d857a502a43147e3b8ba (diff)
Initialize variables which may be used uninitialized.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30536 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_sms.c')
-rw-r--r--epan/dissectors/packet-gsm_sms.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/epan/dissectors/packet-gsm_sms.c b/epan/dissectors/packet-gsm_sms.c
index c617c014b4..4fd2b0cf82 100644
--- a/epan/dissectors/packet-gsm_sms.c
+++ b/epan/dissectors/packet-gsm_sms.c
@@ -2885,10 +2885,10 @@ dis_msg_deliver_report(tvbuff_t *tvb, proto_tree *tree, guint32 offset)
guint8 oct;
guint8 pi;
guint8 udl;
- gboolean seven_bit;
- gboolean eight_bit;
- gboolean ucs2;
- gboolean compressed;
+ gboolean seven_bit = FALSE;
+ gboolean eight_bit = FALSE;
+ gboolean ucs2 = FALSE;
+ gboolean compressed = FALSE;
gboolean udhi;
@@ -3073,10 +3073,10 @@ dis_msg_submit_report(tvbuff_t *tvb, proto_tree *tree, guint32 offset)
guint8 oct;
guint8 pi;
guint8 udl;
- gboolean seven_bit;
- gboolean eight_bit;
- gboolean ucs2;
- gboolean compressed;
+ gboolean seven_bit = FALSE;
+ gboolean eight_bit = FALSE;
+ gboolean ucs2 = FALSE;
+ gboolean compressed = FALSE;
gboolean udhi;
@@ -3183,10 +3183,10 @@ dis_msg_status_report(tvbuff_t *tvb, proto_tree *tree, guint32 offset)
guint8 oct;
guint8 pi;
guint8 udl;
- gboolean seven_bit;
- gboolean eight_bit;
- gboolean ucs2;
- gboolean compressed;
+ gboolean seven_bit = FALSE;
+ gboolean eight_bit = FALSE;
+ gboolean ucs2 = FALSE;
+ gboolean compressed = FALSE;
gboolean udhi;