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: fix type of variable in ApplyModifier_IfElse
details: https://anonhg.NetBSD.org/src/rev/029f568ddaf6
branches: trunk
changeset: 1026564:029f568ddaf6
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Nov 28 22:58:55 2021 +0000
description:
make: fix type of variable in ApplyModifier_IfElse
No functional change.
diffstat:
usr.bin/make/var.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5358aaa9334e -r 029f568ddaf6 usr.bin/make/var.c
--- a/usr.bin/make/var.c Sun Nov 28 22:48:06 2021 +0000
+++ b/usr.bin/make/var.c Sun Nov 28 22:58:55 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.954 2021/11/20 17:51:48 rillig Exp $ */
+/* $NetBSD: var.c,v 1.955 2021/11/28 22:58:55 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.954 2021/11/20 17:51:48 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.955 2021/11/28 22:58:55 rillig Exp $");
/*
* Variables are defined using one of the VAR=value assignments. Their
@@ -3417,7 +3417,7 @@
VarEvalMode then_emode = VARE_PARSE_ONLY;
VarEvalMode else_emode = VARE_PARSE_ONLY;
- int cond_rc = COND_PARSE; /* anything other than COND_INVALID */
+ CondEvalResult cond_rc = COND_PARSE; /* just not COND_INVALID */
if (Expr_ShouldEval(expr)) {
cond_rc = Cond_EvalCondition(expr->name, &value);
if (cond_rc != COND_INVALID && value)
Home |
Main Index |
Thread Index |
Old Index