summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 90ca5f502a..811c23c218 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2458,8 +2458,6 @@ static void vty_read_file(struct nb_config *config, FILE *confp)
*/
if (config == NULL && vty->candidate_config
&& frr_get_cli_mode() == FRR_CLI_TRANSACTIONAL) {
- int ret;
-
ret = nb_candidate_commit(vty->candidate_config, NB_CLIENT_CLI,
true, "Read configuration file",
NULL);