From 51f7fe8459c7f7c1a10a3d045858cb6ee8f34f88 Mon Sep 17 00:00:00 2001 From: Vincent JARDIN Date: Sun, 8 Oct 2017 23:40:36 +0200 Subject: [PATCH] ripngd: fix clang warning this value len is not used for this vty_out() case. Signed-off-by: Vincent Jardin --- ripngd/ripngd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5