diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-26 00:02:37 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-27 11:20:59 +0200 |
| commit | c48349e346571d307b48ca594f6edd096be7ccfd (patch) | |
| tree | 3d465f92432dedb0f4496d4682228d36f29b2db9 /zebra/zebra_vty.c | |
| parent | 75eeda93231620d732be3b1d4e62e74e9ac46e14 (diff) | |
*: Remove redundand braces for single statement blocks
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 87daeac694..9c57381165 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1237,9 +1237,8 @@ static void do_show_route_helper(struct vty *vty, struct zebra_vrf *zvrf, } } - if (use_json) { + if (use_json) vty_json(vty, json); - } } static void do_show_ip_route_all(struct vty *vty, struct zebra_vrf *zvrf, |
