[libFuzzer] fix minor inefficiency, PR24584

llvm-svn: 246087
This commit is contained in:
Kostya Serebryany 2015-08-26 21:55:19 +00:00
parent e11c6d2d6f
commit 06c199ac9d
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ static std::vector<std::string> ListFilesInDir(const std::string &Dir,
long *Epoch) {
std::vector<std::string> V;
if (Epoch) {
auto E = GetEpoch(Dir.c_str());
auto E = GetEpoch(Dir);
if (*Epoch >= E) return V;
*Epoch = E;
}