summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-13 20:43:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-13 20:43:18 +0000
commita49e1027dd5bfbed29f0ddae6ad1f7cf0f128143 (patch)
treeb848808ddde2e05ee9e365e26dba2beba957d2a6 /usr.bin
parent4209cf304d6072fcdae969596403437ee3228215 (diff)
toast unused variable
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index ead05ff3171..e0db0087e50 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.43 2005/10/13 20:41:09 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.44 2005/10/13 20:43:17 deraadt Exp $ */
/* This file is in the public domain. */
@@ -33,7 +33,7 @@ main(int argc, char **argv)
{
char *cp, *init_fcn_name = NULL;
PF init_fcn = NULL;
- int o, i, nfiles, status;
+ int o, i, nfiles;
int nobackups = 0;
while ((o = getopt(argc, argv, "nf:")) != -1)
@@ -122,7 +122,7 @@ notnum:
errx(1, "Can't find current buffer!");
}
(void)showbuffer(curbp, curwp, 0);
- if ((status = readin(cp)) != TRUE)
+ if (readin(cp) != TRUE)
killbuffer(curbp);
else {
if (init_fcn_name)