mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 00:25:16 -04:00
add thread names & remove some warnings
This commit is contained in:
parent
a2ff5d27c5
commit
9d72b064e1
6 changed files with 18 additions and 11 deletions
|
@ -184,7 +184,7 @@ bool InternalFileHierarchyStorage::updateSubDirectoryList(const DirectoryStorage
|
|||
return true;
|
||||
}
|
||||
|
||||
RsFileHash InternalFileHierarchyStorage::createDirHash(const std::string& dir_name,const std::string& dir_parent_path)
|
||||
RsFileHash InternalFileHierarchyStorage::createDirHash(const std::string &/*dir_name*/, const std::string &/*dir_parent_path*/)
|
||||
{
|
||||
// What we need here: a unique identifier
|
||||
// - that cannot be bruteforced to find the real directory name and path
|
||||
|
@ -226,7 +226,7 @@ bool InternalFileHierarchyStorage::removeDirectory(DirectoryStorage::EntryIndex
|
|||
parent_dir.subdirs[i] = parent_dir.subdirs.back() ;
|
||||
parent_dir.subdirs.pop_back();
|
||||
|
||||
bool res = recursRemoveDirectory(indx) ;
|
||||
recursRemoveDirectory(indx) ;
|
||||
#ifdef DEBUG_DIRECTORY_STORAGE
|
||||
print();
|
||||
std::string err ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue