Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): remove redundant assignment in ApplyMo...



details:   https://anonhg.NetBSD.org/src/rev/0c3f5808a032
branches:  trunk
changeset: 948213:0c3f5808a032
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Dec 20 19:51:37 2020 +0000

description:
make(1): remove redundant assignment in ApplyModifier_SysV

diffstat:

 usr.bin/make/var.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b61823c16bdc -r 0c3f5808a032 usr.bin/make/var.c
--- a/usr.bin/make/var.c        Sun Dec 20 19:47:34 2020 +0000
+++ b/usr.bin/make/var.c        Sun Dec 20 19:51:37 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.754 2020/12/20 19:47:34 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.755 2020/12/20 19:51:37 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -131,7 +131,7 @@
 #include "metachar.h"
 
 /*     "@(#)var.c      8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.754 2020/12/20 19:47:34 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.755 2020/12/20 19:51:37 rillig Exp $");
 
 typedef enum VarFlags {
        VAR_NONE        = 0,
@@ -3259,7 +3259,6 @@
        if (*p != st->endc || !eqFound)
                return AMR_UNKNOWN;
 
-       *pp = mod;
        res = ParseModifierPart(pp, '=', st->eflags, st,
            &lhs, NULL, NULL, NULL);
        if (res != VPR_OK)



Home | Main Index | Thread Index | Old Index