]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: fix clang warning
authorVincent JARDIN <vincent.jardin@6wind.com>
Sun, 8 Oct 2017 21:45:10 +0000 (23:45 +0200)
committerVincent JARDIN <vincent.jardin@6wind.com>
Sun, 8 Oct 2017 21:45:10 +0000 (23:45 +0200)
Remove stored value to llen that is never used.

Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
bgpd/bgp_label.c

index ad7411990e1f7156083d6fa6ab6ec1707b0adc83..06c314de03b57124ca05eddfdb3d10e1b97b042b 100644 (file)
@@ -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) {