]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: suppress coverity warning of return value 9457/head
authoranlan_cs <anlan_cs@tom.com>
Sun, 22 Aug 2021 01:56:49 +0000 (21:56 -0400)
committeranlan_cs <anlan_cs@tom.com>
Sun, 22 Aug 2021 02:04:12 +0000 (22:04 -0400)
Fix #CID 1506511

Signed-off-by: anlan_cs <anlan_cs@tom.com>
ospf6d/ospf6_gr_helper.c

index 07e479efcb8aa6e1227d7d67ee21acd1f5759329..0f5ebf896d17331d21529e13a3a50a3bffd1035c 100644 (file)
@@ -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 */