packet-6lowpan.c: fix uninitialized variable (ipv6_ext) warning

Change-Id: I8182bc9452cbd1201c81407041b6b522434f5ec0
Reviewed-on: https://code.wireshark.org/review/16394
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2016-07-12 12:32:06 -04:00
parent 2f3b25c181
commit 8682f4b73c
1 changed files with 1 additions and 1 deletions

View File

@ -1888,7 +1888,7 @@ dissect_6lowpan_iphc_nhc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gi
*=====================================================
*/
if (tvb_get_bits8(tvb, offset<<3, LOWPAN_NHC_PATTERN_EXT_BITS) == LOWPAN_NHC_PATTERN_EXT) {
struct ip6_ext ipv6_ext;
struct ip6_ext ipv6_ext = {0, 0};
guint8 ext_flags;
guint8 ext_hlen;
guint8 ext_len;