summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-25 16:35:55 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-25 16:35:55 +0100
commit746a6eda2f9d6c774d7c96f4e663148f8579776b (patch)
tree054f2cc6be827661c8e47814fd05be5bdd88810d /pbrd
parentbgpd: Replace prefix2str for JSON to %pFX (diff)
downloadfrr-746a6eda2f9d6c774d7c96f4e663148f8579776b.tar.xz
frr-746a6eda2f9d6c774d7c96f4e663148f8579776b.zip
*: Remove unused variables
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_vty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c
index 005e58ef3..47acfd82a 100644
--- a/pbrd/pbr_vty.c
+++ b/pbrd/pbr_vty.c
@@ -917,7 +917,6 @@ static void vty_json_pbrms(json_object *j, struct vty *vty,
json_object *jpbrm, *nexthop_group;
char *nhg_name = pbrms->nhgrp_name ? pbrms->nhgrp_name
: pbrms->internal_nhg_name;
- char buf[PREFIX_STRLEN];
char rbuf[64];
jpbrm = json_object_new_object();