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: remove workaround for initialization bug ...
details: https://anonhg.NetBSD.org/src/rev/32b3aca16345
branches: trunk
changeset: 1022909:32b3aca16345
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Aug 14 13:11:33 2021 +0000
description:
make: remove workaround for initialization bug in lint
The bug has been fixed in init.c 1.208 from 2021-08-14.
diffstat:
usr.bin/make/var.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r ffc271463f18 -r 32b3aca16345 usr.bin/make/var.c
--- a/usr.bin/make/var.c Sat Aug 14 13:04:00 2021 +0000
+++ b/usr.bin/make/var.c Sat Aug 14 13:11:33 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.946 2021/08/08 12:00:30 rillig Exp $ */
+/* $NetBSD: var.c,v 1.947 2021/08/14 13:11:33 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -140,7 +140,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.946 2021/08/08 12:00:30 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.947 2021/08/14 13:11:33 rillig Exp $");
/*
* Variables are defined using one of the VAR=value assignments. Their
@@ -4019,8 +4019,6 @@
char endc /* ')' or '}'; or '\0' for indirect modifiers */
)
{
- /* LINTED 115 *//* warning: left operand of '=' must be modifiable lvalue */
- /* That's a bug in lint; see tests/usr.bin/xlint/lint1/msg_115.c. */
ModChain ch = ModChain_Literal(expr, startc, endc, ' ', false);
const char *p;
const char *mod;
Home |
Main Index |
Thread Index |
Old Index