mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-24 06:18:25 +00:00
Fix cppcheck complaint
This commit is contained in:
parent
d57c12d3c3
commit
ab4b92074c
@ -499,11 +499,12 @@ bool StatCache::TruncateCache(void)
|
|||||||
if(entry){
|
if(entry){
|
||||||
delete entry;
|
delete entry;
|
||||||
}
|
}
|
||||||
stat_cache.erase(iter);
|
stat_cache.erase(iter++);
|
||||||
}
|
}else{
|
||||||
++iter;
|
++iter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 2) check stat cache count
|
// 2) check stat cache count
|
||||||
if(stat_cache.size() < CacheSize){
|
if(stat_cache.size() < CacheSize){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user