Module Name:    src
Committed By:   kre
Date:           Tue Oct  8 03:53:57 UTC 2019

Modified Files:
        src/bin/sh: expand.c

Log Message:
Remove a (completely harmless) duplicate assignment introduced in a
code merge from FreeBSD in 2017.   NFC.

Pointed out by Roland Illig.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 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.133 src/bin/sh/expand.c:1.134
--- src/bin/sh/expand.c:1.133	Tue Oct  8 03:52:44 2019
+++ src/bin/sh/expand.c	Tue Oct  8 03:53:57 2019
@@ -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 @@ patmatch(const char *pattern, const char
 			}
 			/* end shortcut */
 
-			invert = 0;
 			savep = p, saveq = q;
 			invert = 0;
 			if (*p == '!' || *p == '^') {

Reply via email to