diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-11-04 11:48:49 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-11-04 11:48:49 -0500 |
| commit | 9ea714e1436fad8b19253fe695ca5178e659b662 (patch) | |
| tree | 886603ab20c46be936121fdc5cce3b8926bac33d /tests/topotests/ospf_basic_functionality/test_ospf_single_area.py | |
| parent | fddbafcc9e7380259afd0c97f5332df44d81e112 (diff) | |
zebra: Rework code to make SA happy
Clan SA was saying:
./zebra/zebra_vty_clippy.c: In function ‘show_route’:
zebra/zebra_vty.c:1775:4: warning: ‘zvrf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
do_show_ip_route_all(vty, zvrf, afi, !!fib, !!json, tag,
^
I do not see a way that zvrf could ever be uninited in the code path
but rearrange the code a tiny bit to make it happier.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_single_area.py')
0 files changed, 0 insertions, 0 deletions
