summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-11-18 09:20:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-11-18 09:20:26 +0000
commit9232e3e0a24a4dbac8d4d99d790fae7c3606051e (patch)
tree17b11bab15ca5e9094964dc58ad59428cf662f55 /usr.bin/make
parentd1da3b58d30cdcec3307d863b3d43e0df19b8faa (diff)
simplify, no sense to break just to do return afterwards
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/make.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c
index c4634aafb79..1d3dc9af39d 100644
--- a/usr.bin/make/make.c
+++ b/usr.bin/make/make.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: make.c,v 1.50 2007/11/17 16:39:45 espie Exp $ */
+/* $OpenBSD: make.c,v 1.51 2007/11/18 09:20:25 espie Exp $ */
/* $NetBSD: make.c,v 1.10 1996/11/06 17:59:15 christos Exp $ */
/*
@@ -234,18 +234,17 @@ try_to_make_node(GNode *gn)
printf(
"predecessor %s not made yet.\n",
pgn->name);
- break;
+ /*
+ * there's a predecessor as yet unmade, so we
+ * just drop this node on the floor. When the
+ * node in question has been made, it will
+ * notice this node as being ready to make but
+ * as yet unmade and will place the node on the
+ * queue.
+ */
+ return false;
}
}
- /*
- * If ln isn't NULL, there's a predecessor as yet
- * unmade, so we just drop this node on the floor. When
- * the node in question has been made, it will notice
- * this node as being ready to make but as yet unmade
- * and will place the node on the queue.
- */
- if (ln != NULL)
- return false;
}
numNodes--;