Module Name: src Committed By: rillig Date: Sat Aug 14 13:11:33 UTC 2021
Modified Files: src/usr.bin/make: var.c Log Message: make: remove workaround for initialization bug in lint The bug has been fixed in init.c 1.208 from 2021-08-14. To generate a diff of this commit: cvs rdiff -u -r1.946 -r1.947 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/var.c diff -u src/usr.bin/make/var.c:1.946 src/usr.bin/make/var.c:1.947 --- src/usr.bin/make/var.c:1.946 Sun Aug 8 12:00:30 2021 +++ src/usr.bin/make/var.c Sat Aug 14 13:11:33 2021 @@ -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 @@ ApplyModifiers( 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;