aboutsummaryrefslogtreecommitdiff
path: root/dep.cc
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-10-01 14:21:40 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-10-01 14:24:39 +0900
commita62b02a1251a0f6c452a25fce03258f12472507f (patch)
tree1cfb0e7e89ad923a7e418a09c9158441df69907e /dep.cc
parent7382f9abe433a7a9378f5b77db96c4e69ae3e1b5 (diff)
[C++] Do not have multiple default statements in a ninja file
We have the first target as default only when --gen_all_targets or --gen_all_phony_targets.
Diffstat (limited to 'dep.cc')
-rw-r--r--dep.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/dep.cc b/dep.cc
index d2d45af..6f4fc11 100644
--- a/dep.cc
+++ b/dep.cc
@@ -136,8 +136,7 @@ class DepBuilder {
~DepBuilder() {
}
- void Build(vector<Symbol> targets,
- vector<DepNode*>* nodes) {
+ void Build(vector<Symbol> targets, vector<DepNode*>* nodes) {
if (!first_rule_) {
ERROR("*** No targets.");
}