summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2007-11-04 09:31:57 +0000
committerespie <espie@openbsd.org>2007-11-04 09:31:57 +0000
commite2318646dd8cdfad600f4631169b314d96b23f8f (patch)
treeec23218e0cbd63142f0dbbcb19f7e88d359ce284
parentwe support the 1202 and first revision of the 1200. (diff)
downloadwireguard-openbsd-e2318646dd8cdfad600f4631169b314d96b23f8f.tar.xz
wireguard-openbsd-e2318646dd8cdfad600f4631169b314d96b23f8f.zip
prevent gcc from complaining
-rw-r--r--usr.bin/make/var.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 303b152f377..b161b41cae4 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: var.c,v 1.81 2007/11/03 15:42:10 deraadt Exp $ */
+/* $OpenBSD: var.c,v 1.82 2007/11/04 09:31:57 espie Exp $ */
/* $NetBSD: var.c,v 1.18 1997/03/18 19:24:46 christos Exp $ */
/*
@@ -560,10 +560,10 @@ find_global_var(const char *name, const char *ename, uint32_t k)
v = find_global_var_without_env(name, ename, k);
- if ((v->flags & VAR_SEEN_ENV) == 0 &&
- (checkEnvFirst && (v->flags & VAR_FROM_CMD) == 0 ||
- (v->flags & VAR_DUMMY) != 0))
- fill_from_env(v);
+ if ((v->flags & VAR_SEEN_ENV) == 0)
+ if ((checkEnvFirst && (v->flags & VAR_FROM_CMD) == 0) ||
+ (v->flags & VAR_DUMMY) != 0)
+ fill_from_env(v);
return v;
}