summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-07-23 23:27:28 +0000
committerobrien <obrien@FreeBSD.org>2001-07-23 23:27:28 +0000
commitadeb9166b805f11082cf00eada9862202e2d3cd2 (patch)
treecfa90b40bd907718d3a1c26cc27172f9f4507ecf /usr.bin/find
parent274f364f056e74c94633e04d95512c900155cb62 (diff)
downloadFreeBSD-src-adeb9166b805f11082cf00eada9862202e2d3cd2.zip
FreeBSD-src-adeb9166b805f11082cf00eada9862202e2d3cd2.tar.gz
Quiet a [useless] compiler warning.
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/operator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/operator.c b/usr.bin/find/operator.c
index d7ac745..2fae749 100644
--- a/usr.bin/find/operator.c
+++ b/usr.bin/find/operator.c
@@ -176,7 +176,7 @@ not_squish(plan)
tail = result = NULL;
- while (next = yanknode(&plan)) {
+ while ((next = yanknode(&plan))) {
/*
* if we encounter a ( expression ) then look for nots in
* the expr subplan.
OpenPOWER on IntegriCloud