diff options
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-11-07 14:11:09 +0900 |
---|---|---|
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-11-07 14:11:09 +0900 |
commit | b67a299ca5eb1c9272aa01fe2645d2c7a28c5d72 (patch) | |
tree | 87b8776f0190db447d61ce53ce74d2f0c4f161c9 /func.cc | |
parent | 7d261aa202177fd72e843eee4cc02319e44013f4 (diff) | |
download | kati-b67a299ca5eb1c9272aa01fe2645d2c7a28c5d72.tar.gz |
[C++] Fix a CHECK failure
Stats::Start could be recursively called. Also, measuring
evaluation time of $(wildcard) parameters didn't make sense.
Diffstat (limited to 'func.cc')
-rw-r--r-- | func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -305,8 +305,8 @@ void JoinFunc(const vector<Value*>& args, Evaluator* ev, string* s) { } void WildcardFunc(const vector<Value*>& args, Evaluator* ev, string* s) { - COLLECT_STATS("func wildcard time"); const string&& pat = args[0]->Eval(ev); + COLLECT_STATS("func wildcard time"); // Note GNU make does not delay the execution of $(wildcard) so we // do not need to check avoid_io here. WordWriter ww(s); |