[libFuzzer] fix minor inefficiency, PR24584

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kostya Serebryany 2015-08-26 21:55:19 +00:00
parent 026583408f
commit 243e7c5f8c

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;
}