forked from OSchip/llvm-project
[libFuzzer] fix minor inefficiency, PR24584
llvm-svn: 246087
This commit is contained in:
parent
e11c6d2d6f
commit
06c199ac9d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue