Address cppcheck 1.90 warning

This commit is contained in:
Andrew Gaul 2020-04-12 22:20:44 +09:00
parent c44a60f3f5
commit 48a872e285

View File

@ -207,9 +207,7 @@ bool CacheFileStat::SetPath(const char* tpath, bool is_open)
// could not close old stat file. // could not close old stat file.
return false; return false;
} }
if(tpath){ path = tpath;
path = tpath;
}
if(!is_open){ if(!is_open){
return true; return true;
} }