summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index b75ddbf..d4e697f 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -119,8 +119,7 @@ bool CollectTargetsFromArgs(State* state, int argc, char* argv[],
} else {
for (int i = 0; i < argc; ++i) {
string path = argv[i];
- if (!CanonicalizePath(&path, err))
- return false;
+ CanonicalizePath(&path);
Node* node = state->LookupNode(path);
if (node) {
targets->push_back(node);