summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2011-01-18 14:29:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2011-01-18 14:29:22 +0000
commit249d2fa75589fafb352e1fcce62e56ef3725d855 (patch)
tree171ebf51947cf85feeec1e7dc2350894771aeb72
parent1a2c0645ea5eacaecc22e201ab1ff7ebcc6dd528 (diff)
Quiet a gcc warning
-rw-r--r--usr.sbin/cron/env.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/cron/env.c b/usr.sbin/cron/env.c
index 2b71b3e9578..099957c6384 100644
--- a/usr.sbin/cron/env.c
+++ b/usr.sbin/cron/env.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: env.c,v 1.22 2009/10/27 23:59:51 deraadt Exp $ */
+/* $OpenBSD: env.c,v 1.23 2011/01/18 14:29:21 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -201,6 +201,9 @@ load_env(char *envstr, FILE *f) {
else
state++;
break;
+ case ERROR:
+ /* handled below */
+ break;
}
}
if (state != FINI && !(state == VALUE && !quotechar)) {