From: anlan_cs Date: Sun, 22 Aug 2021 01:56:49 +0000 (-0400) Subject: ospf6d: suppress coverity warning of return value X-Git-Tag: base_8.1~158^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F9457%2Fhead;p=mirror%2Ffrr.git ospf6d: suppress coverity warning of return value Fix #CID 1506511 Signed-off-by: anlan_cs --- 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 */