mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -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
|
@ -725,6 +725,10 @@ bool RsDirUtil::createBackup (const std::string& sFilename, unsigned int nCount)
|
|||
getPqiNotify()->AddSysMessage (0, RS_SYS_WARNING, "File rename error", "Error while renaming file " + sFilename + " to " + sStream.str ());
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
/* remove unused parameter warnings */
|
||||
(void) sFilename;
|
||||
(void) nCount;
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -44,9 +44,12 @@ class RsMutex
|
|||
{
|
||||
public:
|
||||
|
||||
RsMutex(const std::string &name)
|
||||
RsMutex(const std::string& name)
|
||||
{
|
||||
pthread_mutex_init(&realMutex, NULL);
|
||||
/* remove unused parameter warnings */
|
||||
(void) name;
|
||||
|
||||
pthread_mutex_init(&realMutex, NULL);
|
||||
#ifdef RSTHREAD_SELF_LOCKING_GUARD
|
||||
_thread_id = 0 ;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue