]> git.proxmox.com Git - mirror_frr.git/commitdiff
ripngd: fix clang warning
authorVincent JARDIN <vincent.jardin@6wind.com>
Sun, 8 Oct 2017 21:40:36 +0000 (23:40 +0200)
committerVincent JARDIN <vincent.jardin@6wind.com>
Sun, 8 Oct 2017 21:40:36 +0000 (23:40 +0200)
this value len is not used for this vty_out() case.

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

index 0bee9a8bf494559cad8b99f8920b6c00db49c726..4df1aafe5d839c04a70f64f2687d7cb9f72e380f 100644 (file)
@@ -2010,7 +2010,7 @@ DEFUN (show_ipv6_ripng,
 
                                len = 28 - len;
                                if (len > 0)
-                                       len = vty_out(vty, "%*s", len, " ");
+                                       vty_out(vty, "%*s", len, " ");
 
                                /* from */
                                if ((rinfo->type == ZEBRA_ROUTE_RIPNG)