Module Name: src
Committed By: kre
Date: Sat Aug 1 17:56:56 UTC 2020
Modified Files:
src/bin/sh: expand.c
Log Message:
Remove a redundant set of parentheses that were added (along with a
extra && or || or something ... forgotten now) as part a failed attempt
to fix an earlier bug (later fixed a better way) - when the extra
test (never committed) was removed, the now-redundant parentheses got
forgotten...
NFC.
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/bin/sh/expand.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/expand.c
diff -u src/bin/sh/expand.c:1.137 src/bin/sh/expand.c:1.138
--- src/bin/sh/expand.c:1.137 Thu Feb 13 05:19:05 2020
+++ src/bin/sh/expand.c Sat Aug 1 17:56:56 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: expand.c,v 1.137 2020/02/13 05:19:05 kre Exp $ */
+/* $NetBSD: expand.c,v 1.138 2020/08/01 17:56:56 kre Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95";
#else
-__RCSID("$NetBSD: expand.c,v 1.137 2020/02/13 05:19:05 kre Exp $");
+__RCSID("$NetBSD: expand.c,v 1.138 2020/08/01 17:56:56 kre Exp $");
#endif
#endif /* not lint */
@@ -309,7 +309,7 @@ argstr(const char *p, int flag)
had_dol_at = 0;
break;
case CTLESC:
- if ((quotes || ISCTL(*p)))
+ if (quotes || ISCTL(*p))
STPUTC(c, expdest);
c = *p++;
STPUTC(c, expdest);