diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-25 23:02:37 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-11-27 10:20:59 +0100 |
commit | c48349e346571d307b48ca594f6edd096be7ccfd (patch) | |
tree | 3d465f92432dedb0f4496d4682228d36f29b2db9 /sharpd | |
parent | bgpd: Convert vty_out to vty_json for JSON (diff) | |
download | frr-c48349e346571d307b48ca594f6edd096be7ccfd.tar.xz frr-c48349e346571d307b48ca594f6edd096be7ccfd.zip |
*: Remove redundand braces for single statement blocks
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'sharpd')
-rw-r--r-- | sharpd/sharp_vty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c index 3485d172b..0a323f744 100644 --- a/sharpd/sharp_vty.c +++ b/sharpd/sharp_vty.c @@ -1065,9 +1065,8 @@ DEFUN (show_sharp_ted, ls_show_ted(sg.ted, vty, json, verbose); } - if (uj) { + if (uj) vty_json(vty, json); - } return CMD_SUCCESS; } |