summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-07 18:34:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-07 18:34:51 +0000
commit4cc3588e5a59da071b4630b8abb38de9e6d67fb1 (patch)
tree6d18220113c5b36ed14e094f3222239babf7ba38
parent2526ec56aba81745b3c3b17872a5427b64f66e5e (diff)
make gcc 2.8 happy
-rw-r--r--usr.bin/make/str.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c
index 9bb6d61a0a3..5c44eae1e54 100644
--- a/usr.bin/make/str.c
+++ b/usr.bin/make/str.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: str.c,v 1.5 1996/11/30 21:09:04 millert Exp $ */
+/* $OpenBSD: str.c,v 1.6 1998/03/07 18:34:50 millert Exp $ */
/* $NetBSD: str.c,v 1.13 1996/11/06 17:59:23 christos Exp $ */
/*-
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)str.c 5.8 (Berkeley) 6/1/90";
#else
-static char rcsid[] = "$OpenBSD: str.c,v 1.5 1996/11/30 21:09:04 millert Exp $";
+static char rcsid[] = "$OpenBSD: str.c,v 1.6 1998/03/07 18:34:50 millert Exp $";
#endif
#endif /* not lint */
@@ -170,12 +170,12 @@ brk_string(str, store_argc, expand)
switch(ch = *p) {
case '"':
case '\'':
- if (inquote)
+ if (inquote) {
if (inquote == ch)
inquote = '\0';
else
break;
- else {
+ } else {
inquote = (char) ch;
/* Don't miss "" or '' */
if (start == NULL && p[1] == inquote) {