From: Lou Berger Date: Wed, 20 Apr 2016 12:11:05 +0000 (-0400) Subject: bgpd: cleanup clang uninitialized variable warning X-Git-Tag: frr-2.0-rc1~344 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0f2b4f4da393dcb48d88fe46012c7646530ddc1c;p=matthieu%2Ffrr.git bgpd: cleanup clang uninitialized variable warning --- diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index dc157ba7d0..242b287176 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 subtype = 0; uint16_t sublength = 0; struct bgp_attr_encap_subtlv *tlv;