diff options
| author | Russ White <russ@riw.us> | 2021-09-15 09:06:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-15 09:06:49 -0400 |
| commit | a79c6892bc86accf99f0c12e38a0435330cde207 (patch) | |
| tree | aa0d1c2741acc9f7e98b17556521a935dd65316b /zebra/zebra_vty.c | |
| parent | 9948e5acb2a6ffb8ea092ecab5f5777025c5dc41 (diff) | |
| parent | 321f8e0d840986044a86651a5e52e9ca66ac4bbe (diff) | |
Merge pull request #9611 from donaldsharp/more_default_bull
when doing a switch over an enumeration do not use default
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 1c8a1ad09a..79087c5849 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -353,8 +353,6 @@ static void show_nexthop_detail_helper(struct vty *vty, break; } break; - default: - break; } if (re->vrf_id != nexthop->vrf_id) { @@ -605,8 +603,6 @@ static void show_route_nexthop_helper(struct vty *vty, break; } break; - default: - break; } if ((re == NULL || (nexthop->vrf_id != re->vrf_id))) @@ -777,8 +773,6 @@ static void show_nexthop_json_helper(json_object *json_nexthop, break; } break; - default: - break; } if (nexthop->vrf_id != re->vrf_id) @@ -2247,8 +2241,6 @@ static void show_ip_route_nht_dump(struct vty *vty, struct nexthop *nexthop, break; } break; - default: - break; } } |
