diff options
author | xianglin1006 <xianglin_1006@126.com> | 2019-11-15 08:40:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-15 08:40:36 (GMT) |
commit | 953efbce932a293ee6cba3cf77890b915b0f13c1 (patch) | |
tree | c557888fa0a80aaa7d2e6abcdc5ee27851a17d47 /src/manifest_parser.cc | |
parent | 3ef623acf15460c6256e1793c1d7206cb9399305 (diff) | |
download | Ninja-953efbce932a293ee6cba3cf77890b915b0f13c1.zip Ninja-953efbce932a293ee6cba3cf77890b915b0f13c1.tar.gz Ninja-953efbce932a293ee6cba3cf77890b915b0f13c1.tar.bz2 |
Fix minor typo of return value
Return value of ManifestParser::ParseEdge shoule be boolean
Diffstat (limited to 'src/manifest_parser.cc')
-rw-r--r-- | src/manifest_parser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc index 2011368..e28be2f 100644 --- a/src/manifest_parser.cc +++ b/src/manifest_parser.cc @@ -228,7 +228,7 @@ bool ManifestParser::ParseEdge(string* err) { for (;;) { EvalString out; if (!lexer_.ReadPath(&out, err)) - return err; + return false; if (out.empty()) break; outs.push_back(out); @@ -266,7 +266,7 @@ bool ManifestParser::ParseEdge(string* err) { for (;;) { EvalString in; if (!lexer_.ReadPath(&in, err)) - return err; + return false; if (in.empty()) break; ins.push_back(in); |