summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_label.c
diff options
context:
space:
mode:
authorVincent JARDIN <vincent.jardin@6wind.com>2017-10-08 23:45:10 +0200
committerVincent JARDIN <vincent.jardin@6wind.com>2017-10-08 23:45:10 +0200
commit49b6be9bd4ff7ceef3d9751172ca4facf4bd9926 (patch)
treeab2c14ec2ba5b3ebce4bf18768ba015e752c2bbf /bgpd/bgp_label.c
parentrfapi: fix clang warning (diff)
downloadfrr-49b6be9bd4ff7ceef3d9751172ca4facf4bd9926.tar.xz
frr-49b6be9bd4ff7ceef3d9751172ca4facf4bd9926.zip
bgpd: fix clang warning
Remove stored value to llen that is never used. Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
Diffstat (limited to '')
-rw-r--r--bgpd/bgp_label.c1
1 files changed, 0 insertions, 1 deletions
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) {