From 0f2b4f4da393dcb48d88fe46012c7646530ddc1c Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Wed, 20 Apr 2016 08:11:05 -0400 Subject: [PATCH] bgpd: cleanup clang uninitialized variable warning --- bgpd/bgp_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5