mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Removed unused parameter warnings in libretroshare.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4558 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
27842b8592
commit
c6beee44ec
61 changed files with 1047 additions and 983 deletions
|
@ -280,13 +280,13 @@ bool CacheStore::getStoredCache(CacheData &data)
|
|||
return ok;
|
||||
}
|
||||
|
||||
bool CacheStore::cached(const std::string cacheId)
|
||||
bool CacheStore::cached(const std::string /*cacheId*/)
|
||||
{
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void CacheStore::updateCacheDocument(pugi::xml_document& cacheDoc)
|
||||
void CacheStore::updateCacheDocument(pugi::xml_document& /*cacheDoc*/)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1257,7 +1257,7 @@ std::string FileIndexMonitor::locked_findRealRoot(std::string rootdir) const
|
|||
return realroot;
|
||||
}
|
||||
|
||||
int FileIndexMonitor::RequestDirDetails(std::string uid, std::string path, DirDetails &details) const
|
||||
int FileIndexMonitor::RequestDirDetails(std::string uid, std::string /*path*/, DirDetails &/*details*/) const
|
||||
{
|
||||
/* lock it up */
|
||||
RsStackMutex mutex(fiMutex) ;
|
||||
|
@ -1273,6 +1273,9 @@ uint32_t FileIndexMonitor::getType(void *ref) const
|
|||
}
|
||||
int FileIndexMonitor::RequestDirDetails(void *ref, DirDetails &details, uint32_t flags) const
|
||||
{
|
||||
/* remove unused parameter warnings */
|
||||
(void) flags;
|
||||
|
||||
RsStackMutex mutex(fiMutex) ;
|
||||
|
||||
#ifdef FIM_DEBUG2
|
||||
|
|
|
@ -717,7 +717,7 @@ int FileIndex::printFileIndex(std::ostream &out)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int FileIndex::loadIndex(const std::string& filename, const std::string& expectedHash, uint64_t size)
|
||||
int FileIndex::loadIndex(const std::string& filename, const std::string& expectedHash, uint64_t /*size*/)
|
||||
{
|
||||
std::ifstream file (filename.c_str(), std::ifstream::binary);
|
||||
if (!file)
|
||||
|
|
|
@ -161,7 +161,7 @@ int FileIndexStore::loadCache(const CacheData &data)
|
|||
|
||||
|
||||
/* Search Interface - For Directory Access */
|
||||
int FileIndexStore::RequestDirDetails(std::string uid, std::string path, DirDetails &details) const
|
||||
int FileIndexStore::RequestDirDetails(std::string uid, std::string /*path*/, DirDetails &/*details*/) const
|
||||
{
|
||||
/* lock it up */
|
||||
lockData();
|
||||
|
@ -187,6 +187,9 @@ int FileIndexStore::RequestDirDetails(std::string uid, std::string path, DirDeta
|
|||
|
||||
int FileIndexStore::RequestDirDetails(void *ref, DirDetails &details, uint32_t flags) const
|
||||
{
|
||||
/* remove unused parameter warnings */
|
||||
(void) flags;
|
||||
|
||||
#ifdef FIS_DEBUG
|
||||
std::cerr << "FileIndexStore::RequestDirDetails() ref=" << ref << " flags: " << flags << std::endl;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue