diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2021-06-10 20:19:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 20:19:07 (GMT) |
commit | d68f107f7a80d552d764c8cd0545955be02debe2 (patch) | |
tree | 8b37cefa64ce621602f6492edd5dc4de6799d069 /src/clparser.cc | |
parent | cd967ab21eef51819473b0cea22135fead76ffc2 (diff) | |
parent | 91706b323fcb2da9a87656d00ebbaf939ed8dad7 (diff) | |
download | Ninja-d68f107f7a80d552d764c8cd0545955be02debe2.zip Ninja-d68f107f7a80d552d764c8cd0545955be02debe2.tar.gz Ninja-d68f107f7a80d552d764c8cd0545955be02debe2.tar.bz2 |
Merge pull request #1979 from bradking/simplify-CanonicalizePath
util: Remove unnecessary CanonicalizePath error handling
Diffstat (limited to 'src/clparser.cc')
-rw-r--r-- | src/clparser.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clparser.cc b/src/clparser.cc index 275641e..40e9407 100644 --- a/src/clparser.cc +++ b/src/clparser.cc @@ -103,8 +103,7 @@ bool CLParser::Parse(const string& output, const string& deps_prefix, // TODO: should this make the path relative to cwd? normalized = include; uint64_t slash_bits; - if (!CanonicalizePath(&normalized, &slash_bits, err)) - return false; + CanonicalizePath(&normalized, &slash_bits); #endif if (!IsSystemInclude(normalized)) includes_.insert(normalized); |