One more compilation fix for gcc 4.3.2 ('toi' may be used uninitialized in this function)
authorPascal Quantin <pascal.quantin@gmail.com>
Fri, 24 May 2013 17:36:19 +0000 (17:36 -0000)
committerPascal Quantin <pascal.quantin@gmail.com>
Fri, 24 May 2013 17:36:19 +0000 (17:36 -0000)
svn path=/trunk/; revision=49557

epan/dissectors/packet-rmt-lct.c

index 36fe8cbf33a1e240b8840803d5db1f23c18921eb..e9c6f0cf556e466fc98ec492717f3411b1cf44b3 100644 (file)
@@ -71,7 +71,7 @@ static int hf_hlen = -1;
 static int hf_codepoint = -1;
 static int hf_cci = -1;
 static int hf_tsi = -1;
-static int hf_tsi16 = -1;
+static int hf_tsi16 = -1;283
 static int hf_tsi32 = -1;
 static int hf_tsi48 = -1;
 static int hf_toi = -1;
@@ -280,7 +280,7 @@ dissect_lct(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
        guint8 tsi_size;
        guint8 toi_size;
        guint64 tsi;
-       guint64 toi;
+       guint64 toi = 0;
        guint16 hlen;
        nstime_t tmp_time;