From: Vincent JARDIN Date: Sun, 8 Oct 2017 21:45:10 +0000 (+0200) Subject: bgpd: fix clang warning X-Git-Tag: frr-4.0-dev~233^2~6 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=49b6be9bd4ff7ceef3d9751172ca4facf4bd9926;p=mirror%2Ffrr.git bgpd: fix clang warning Remove stored value to llen that is never used. Signed-off-by: Vincent Jardin --- diff --git a/bgpd/bgp_label.c b/bgpd/bgp_label.c index ad7411990e..06c314de03 100644 --- a/bgpd/bgp_label.c +++ b/bgpd/bgp_label.c @@ -225,7 +225,6 @@ int bgp_nlri_parse_label(struct peer *peer, struct attr *attr, for (; pnt < lim; pnt += psize) { /* Clear prefix structure. */ memset(&p, 0, sizeof(struct prefix)); - llen = 0; if (addpath_encoded) {