diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2019-12-24 13:57:43 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2019-12-24 13:57:43 +0000 |
commit | 196bc89526e105407e736b61cc0da0ab4e30eaad (patch) | |
tree | 1a49b43878191637e9e1dd3e4a37980dc5b57c56 | |
parent | 7a0833ec796c60cabcb66ac2bfe757e7ac584448 (diff) |
Remove non-sensical line. The node certainly hasn't been rebuilt yet,
and the first thing job_attach_node does is... set the field to BUILDING.
probably remnants of code prior to refactoring
okay captain_obvious
-rw-r--r-- | usr.bin/make/engine.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/make/engine.c b/usr.bin/make/engine.c index d588e3c3e35..4a6bd41b9a4 100644 --- a/usr.bin/make/engine.c +++ b/usr.bin/make/engine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.c,v 1.59 2019/12/21 15:31:54 espie Exp $ */ +/* $OpenBSD: engine.c,v 1.60 2019/12/24 13:57:42 espie Exp $ */ /* * Copyright (c) 2012 Marc Espie. * @@ -702,8 +702,6 @@ run_gnode(GNode *gn) if (!gn || (gn->type & OP_DUMMY)) return NOSUCHNODE; - gn->built_status = REBUILT; - job_attach_node(&myjob, gn); while (myjob.exit_type == JOB_EXIT_OKAY) { bool finished = job_run_next(&myjob); |