diff options
author | paco <paco@voltanet.io> | 2018-06-19 10:40:56 +0200 |
---|---|---|
committer | paco <paco@voltanet.io> | 2018-06-19 10:40:56 +0200 |
commit | 6d10727ac13e5b80c3d5f8b42acf17cebb3f9d5a (patch) | |
tree | d6cbf6a8295df6c4e414331c69df515666e8d5a8 /vtysh/vtysh.c | |
parent | Merge pull request #2476 from pacovn/Coverity_1433544_Explicit_null_dereferenced (diff) | |
download | frr-6d10727ac13e5b80c3d5f8b42acf17cebb3f9d5a.tar.xz frr-6d10727ac13e5b80c3d5f8b42acf17cebb3f9d5a.zip |
eigrpd, lib, tests, vtysh: security (cppcheck)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r-- | vtysh/vtysh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 859d126e7..328c68d82 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -816,7 +816,7 @@ int vtysh_mark_file(const char *filename) vty_out(vty, "%s", vty->buf); break; case CMD_SUCCESS_DAEMON: { - int cmd_stat = CMD_SUCCESS; + int cmd_stat; vty_out(vty, "%s", vty->buf); cmd_stat = vtysh_client_execute(&vtysh_client[0], |