mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:23:04 +00:00
lib: remove unnecessary variable
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
e46538e628
commit
cfb67a784e
@ -482,11 +482,9 @@ DEFUN (vrf,
|
||||
{
|
||||
int idx_name = 1;
|
||||
const char *vrfname = argv[idx_name]->arg;
|
||||
|
||||
struct vrf *vrfp;
|
||||
size_t sl;
|
||||
|
||||
if ((sl = strlen(vrfname)) > VRF_NAMSIZ)
|
||||
if (strlen(vrfname) > VRF_NAMSIZ)
|
||||
{
|
||||
vty_out (vty, "%% VRF name %s is invalid: length exceeds "
|
||||
"%d characters%s",
|
||||
|
Loading…
Reference in New Issue
Block a user