From 49b6be9bd4ff7ceef3d9751172ca4facf4bd9926 Mon Sep 17 00:00:00 2001 From: Vincent JARDIN Date: Sun, 8 Oct 2017 23:45:10 +0200 Subject: [PATCH] bgpd: fix clang warning Remove stored value to llen that is never used. Signed-off-by: Vincent Jardin --- bgpd/bgp_label.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bgpd/bgp_label.c b/bgpd/bgp_label.c index ad7411990..06c314de0 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) { -- 2.39.5