diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-24 08:36:09 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-27 09:41:58 -0500 |
| commit | 2acf1ad1dd3d9d138a0c24bff55918efb8e953eb (patch) | |
| tree | 50c66231fead2b95256421b0c67f45b64c61a462 /zebra/zebra_vty.c | |
| parent | f67de3ee72622061160fde4fa794e2bf0e95d3af (diff) | |
zebra: Cleanup set but unused variables
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index ce6b0d1bee..7ce1b57df8 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1532,10 +1532,8 @@ DEFPY (show_route, if (vrf_all) { RB_FOREACH (vrf, vrf_name_head, &vrfs_by_name) { - struct route_table *route_table; - if ((zvrf = vrf->info) == NULL - || (route_table = zvrf->table[afi][SAFI_UNICAST]) == NULL) + || (zvrf->table[afi][SAFI_UNICAST] == NULL)) continue; if (table_all) |
