Fix unintentionally setting the thread name twice

This commit is contained in:
Sebastian Messmer 2019-06-06 20:34:49 -07:00
parent 83cdea088e
commit e7f50badea

View File

@ -514,7 +514,6 @@ int Fuse::unlink(const bf::path &path) {
try {
ASSERT(is_valid_fspp_path(path), "has to be an absolute path");
_fs->unlink(path);
ThreadNameForDebugging _threadName("unlink");
#ifdef FSPP_LOG
LOG(DEBUG, "unlink({}): success", path);
#endif