ospf6d: suppress coverity warning of return value

Fix #CID 1506511

Signed-off-by: anlan_cs <anlan_cs@tom.com>
This commit is contained in:
anlan_cs 2021-08-21 21:56:49 -04:00
parent fc69721913
commit 4d97dde2d1

View 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) json_object *json, bool uj, bool detail)
{ {
struct ospf6_interface *oi; 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 */ /* Graceful Restart HELPER config Commands */