From: Donald Sharp Date: Tue, 21 Jun 2016 21:24:19 +0000 (-0400) Subject: bgpd: Fix another clang warning X-Git-Tag: frr-2.0-rc1~510 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f4cafc65a35b7c40195d6d519159342b8bd2e941;p=matthieu%2Ffrr.git bgpd: Fix another clang warning Signed-off-by: Donald Sharp --- diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index ef1d02ecaf..eefdd9e8ec 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -1947,7 +1947,7 @@ bgp_attr_encap( while (length >= 4) { uint16_t subtype; - uint16_t sublength; + uint16_t sublength = 0; struct bgp_attr_encap_subtlv *tlv; if (BGP_ATTR_ENCAP == type) {