diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-01-23 07:57:20 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-01-23 07:57:20 +0000 |
commit | a70ec94269f6fa650abb8c8899ec09d0d1bc60e7 (patch) | |
tree | 27b8e5da827aee5b77d79823ef42365ccae8fb8e /epan | |
parent | 8376b41cc0f22d8718c59d32d2ac9f1dcb7a8992 (diff) |
Please GCC 4.3.2 that complains about a wrong 'variable may be used uninitialized in this function' error
svn path=/trunk/; revision=54927
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-lwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lwm.c b/epan/dissectors/packet-lwm.c index 96dd8b1e0e..b06f5c2049 100644 --- a/epan/dissectors/packet-lwm.c +++ b/epan/dissectors/packet-lwm.c @@ -207,7 +207,7 @@ static void dissect_lwm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 lwm_fcf_security; guint8 lwm_fcf_multicast; - guint16 lwm_multi_header; + guint16 lwm_multi_header = 0; guint8 lwm_seq; guint16 lwm_src_addr; @@ -215,7 +215,7 @@ static void dissect_lwm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 lwm_endp_field; guint8 lwm_src_endp; guint8 lwm_dst_endp; - guint32 lwm_mic; + guint32 lwm_mic = 0; guint8 lwm_cmd; proto_item *proto_root, *ti; |