diff --git a/src/fdcache.cpp b/src/fdcache.cpp index eb5598e..0ccdb82 100644 --- a/src/fdcache.cpp +++ b/src/fdcache.cpp @@ -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; }