bgpd: Fix another clang warning

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-06-21 17:24:19 -04:00
parent dc687c9ee7
commit f4cafc65a3

View File

@ -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) {