Initialize ip_addr to avoid an uninitialized warning.

svn path=/trunk/; revision=30335
This commit is contained in:
Stig Bjørlykke 2009-10-05 16:52:59 +00:00
parent 4593ce5ce8
commit 2315117682
1 changed files with 2 additions and 2 deletions

View File

@ -544,7 +544,7 @@ dissect_lldp_chassis_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gui
guint8 incorrectLen = 0; /* incorrect length if 1 */
const guint8 *mac_addr = NULL;
guint32 ip_addr;
guint32 ip_addr = 0;
struct e_in6_addr ip6_addr;
guint8 addr_family = 0;
@ -748,7 +748,7 @@ dissect_lldp_port_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint3
guint32 tempLen = 0;
const char *strPtr;
const guint8 *mac_addr = NULL;
guint32 ip_addr;
guint32 ip_addr = 0;
struct e_in6_addr ip6_addr;
guint8 addr_family = 0;