diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-12-27 11:08:52 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-12-27 11:08:52 +0000 |
commit | eb722fa0c1ebb8ca7f9f31951170a40031bf450c (patch) | |
tree | 2d7f01174d59bb3b3f57c353338996ba83893687 /epan/dissectors/packet-icmp.c | |
parent | 1cab431dc9de6b962a647f3cf414fb5b04db4e71 (diff) |
Initialise variables.
svn path=/trunk/; revision=40299
Diffstat (limited to 'epan/dissectors/packet-icmp.c')
-rw-r--r-- | epan/dissectors/packet-icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-icmp.c b/epan/dissectors/packet-icmp.c index 80f63aab51..e249948140 100644 --- a/epan/dissectors/packet-icmp.c +++ b/epan/dissectors/packet-icmp.c @@ -650,7 +650,7 @@ dissect_interface_information_object(tvbuff_t *tvb, gint offset, proto_tree *ext proto_item *tf_object) { proto_item *ti; - proto_tree *int_name_object_tree; + proto_tree *int_name_object_tree = NULL; proto_tree *int_ipaddr_object_tree; guint16 obj_length, obj_trunc_length; gint obj_end_offset; @@ -664,7 +664,7 @@ dissect_interface_information_object(tvbuff_t *tvb, gint offset, proto_tree *ext guint32 if_index; guint16 afi; struct e_in6_addr ipaddr_v6; - guint8 int_name_length; + guint8 int_name_length = 0; unknown_object = FALSE; /* Object length */ |