aboutsummaryrefslogtreecommitdiff
path: root/build/target.txx
diff options
context:
space:
mode:
Diffstat (limited to 'build/target.txx')
-rw-r--r--build/target.txx5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/target.txx b/build/target.txx
index a63994b..192cfbc 100644
--- a/build/target.txx
+++ b/build/target.txx
@@ -47,10 +47,7 @@ namespace build
if (tk.dir->absolute ())
dr << "target " << tk;
else
- {
- const string* proj (nullptr); // Used for local prerequisites.
- dr << "prerequisite " << prerequisite_key {&proj, tk, &s};
- }
+ dr << "prerequisite " << prerequisite_key {nullptr, tk, &s};
dr << info << "perhaps you forgot to add "
<< tk.type->name << "{*}: " << var << " = ...";