summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-07-20 09:38:46 +0000
committerstefanf <stefanf@FreeBSD.org>2006-07-20 09:38:46 +0000
commit42f73871a9d36dd8b3cb2494fa5c3a4953ed214f (patch)
treec2e3fcd57331ff2e184c667fc66fdbd47db8562e /usr.sbin/config
parent372c92d21957536ac93e908588391256e32e76cf (diff)
downloadFreeBSD-src-42f73871a9d36dd8b3cb2494fa5c3a4953ed214f.zip
FreeBSD-src-42f73871a9d36dd8b3cb2494fa5c3a4953ed214f.tar.gz
Remove unused variables.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/config.y4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index adb6ff4..344a777 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -221,10 +221,8 @@ Opt_list:
Option:
Save_id
= {
- char *s;
-
newopt(&opt, $1, NULL);
- if ((s = strchr($1, '=')))
+ if (strchr($1, '=') != NULL)
errx(1, "%s:%d: The `=' in options should not be "
"quoted", yyfile, yyline);
} |
OpenPOWER on IntegriCloud