mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-23 22:08:24 +00:00
Address cppcheck 1.90 warning
This commit is contained in:
parent
c44a60f3f5
commit
48a872e285
@ -207,9 +207,7 @@ bool CacheFileStat::SetPath(const char* tpath, bool is_open)
|
||||
// could not close old stat file.
|
||||
return false;
|
||||
}
|
||||
if(tpath){
|
||||
path = tpath;
|
||||
}
|
||||
path = tpath;
|
||||
if(!is_open){
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user