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 redundant initializer in CondParse...
details: https://anonhg.NetBSD.org/src/rev/32b6da76f2fe
branches: trunk
changeset: 359470:32b6da76f2fe
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Jan 07 09:02:19 2022 +0000
description:
make: remove redundant initializer in CondParser_ComparisonOrLeaf
No binary change.
diffstat:
usr.bin/make/cond.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 312ca102a9d9 -r 32b6da76f2fe usr.bin/make/cond.c
--- a/usr.bin/make/cond.c Fri Jan 07 08:48:16 2022 +0000
+++ b/usr.bin/make/cond.c Fri Jan 07 09:02:19 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cond.c,v 1.322 2022/01/02 02:57:39 rillig Exp $ */
+/* $NetBSD: cond.c,v 1.323 2022/01/07 09:02:19 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -95,7 +95,7 @@
#include "dir.h"
/* "@(#)cond.c 8.2 (Berkeley) 1/2/94" */
-MAKE_RCSID("$NetBSD: cond.c,v 1.322 2022/01/02 02:57:39 rillig Exp $");
+MAKE_RCSID("$NetBSD: cond.c,v 1.323 2022/01/07 09:02:19 rillig Exp $");
/*
* The parsing of conditional expressions is based on this grammar:
@@ -776,7 +776,7 @@
CondParser_ComparisonOrLeaf(CondParser *par, bool doEval)
{
Token t;
- char *arg = NULL;
+ char *arg;
const char *cp;
/* Push anything numeric through the compare expression */
Home |
Main Index |
Thread Index |
Old Index