summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-07-26 00:55:47 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-07-26 00:55:47 +0200
commit88177fe3eddaf0bad82e85b87556ace1eefbe361 (patch)
tree9a0fdb5b0aa139350310b19cff1c8dba8f07311d /vtysh/vtysh.c
parentFix bugs reported by coverity scan (diff)
downloadfrr-88177fe3eddaf0bad82e85b87556ace1eefbe361.tar.xz
frr-88177fe3eddaf0bad82e85b87556ace1eefbe361.zip
Fixup of warnings in the code
Ticket: None Reviewed by: Trivial Testing: A bunch of warnings have crept in to the code base. This fixes the issue
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index bf2d01ca2..b1c9f453b 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2020,7 +2020,6 @@ backup_config_file (const char *fbackup)
static int
write_config_integrated(void)
{
- int ret;
u_int i;
char line[] = "write terminal\n";
FILE *fp, *fp1;