From: Vincent JARDIN Date: Sun, 8 Oct 2017 21:40:36 +0000 (+0200) Subject: ripngd: fix clang warning X-Git-Tag: frr-4.0-dev~233^2~9 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=51f7fe8459c7f7c1a10a3d045858cb6ee8f34f88;p=matthieu%2Ffrr.git ripngd: fix clang warning this value len is not used for this vty_out() case. Signed-off-by: Vincent Jardin --- diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 0bee9a8bf4..4df1aafe5d 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -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)