Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Remove a (completely harmless) duplicate assignment i...
details: https://anonhg.NetBSD.org/src/rev/0972482b040d
branches: trunk
changeset: 464472:0972482b040d
user: kre <kre%NetBSD.org@localhost>
date: Tue Oct 08 03:53:57 2019 +0000
description:
Remove a (completely harmless) duplicate assignment introduced in a
code merge from FreeBSD in 2017. NFC.
Pointed out by Roland Illig.
diffstat:
bin/sh/expand.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 60e3a2a8594d -r 0972482b040d bin/sh/expand.c
--- a/bin/sh/expand.c Tue Oct 08 03:52:44 2019 +0000
+++ b/bin/sh/expand.c Tue Oct 08 03:53:57 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expand.c,v 1.133 2019/10/08 03:52:44 kre Exp $ */
+/* $NetBSD: expand.c,v 1.134 2019/10/08 03:53:57 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.133 2019/10/08 03:52:44 kre Exp $");
+__RCSID("$NetBSD: expand.c,v 1.134 2019/10/08 03:53:57 kre Exp $");
#endif
#endif /* not lint */
@@ -1955,7 +1955,6 @@
}
/* end shortcut */
- invert = 0;
savep = p, saveq = q;
invert = 0;
if (*p == '!' || *p == '^') {
Home |
Main Index |
Thread Index |
Old Index