From 4d97dde2d14f1052eaeb69df86295554a69a53a6 Mon Sep 17 00:00:00 2001 From: anlan_cs Date: Sat, 21 Aug 2021 21:56:49 -0400 Subject: [PATCH] ospf6d: suppress coverity warning of return value Fix #CID 1506511 Signed-off-by: anlan_cs --- ospf6d/ospf6_gr_helper.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ospf6d/ospf6_gr_helper.c b/ospf6d/ospf6_gr_helper.c index 07e479efcb..0f5ebf896d 100644 --- a/ospf6d/ospf6_gr_helper.c +++ b/ospf6d/ospf6_gr_helper.c @@ -850,7 +850,7 @@ static void show_ospfv6_gr_helper_per_nbr(struct vty *vty, json_object *json, } } -static int show_ospf6_gr_helper_details(struct vty *vty, struct ospf6 *ospf6, +static void show_ospf6_gr_helper_details(struct vty *vty, struct ospf6 *ospf6, json_object *json, bool uj, bool detail) { struct ospf6_interface *oi; @@ -999,8 +999,6 @@ static int show_ospf6_gr_helper_details(struct vty *vty, struct ospf6 *ospf6, } } } - - return CMD_SUCCESS; } /* Graceful Restart HELPER config Commands */ -- 2.39.5