summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2019-12-24 13:57:42 +0000
committerespie <espie@openbsd.org>2019-12-24 13:57:42 +0000
commit342b95d74ea71ab666faa09fdecf225fb525f865 (patch)
treeaec7c8061b8687ec06397701021e63e58652eaae
parentdmesg(8) allocated a bit too much memory due to padding of struct (diff)
downloadwireguard-openbsd-342b95d74ea71ab666faa09fdecf225fb525f865.tar.xz
wireguard-openbsd-342b95d74ea71ab666faa09fdecf225fb525f865.zip
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.c4
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);