mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
[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:
parent
026583408f
commit
243e7c5f8c
@ -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
Block a user