mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 16:09:37 -05:00
Removed some compiler warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7678 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a3eea2cfb1
commit
b475b84070
@ -91,7 +91,7 @@ virtual void getRates(RsBwRates &rates)
|
||||
return;
|
||||
}
|
||||
|
||||
virtual int gatherOutQueueStatistics(std::vector<uint32_t>& per_service_count,std::vector<uint32_t>& per_priority_count) { return 0;}
|
||||
virtual int gatherOutQueueStatistics(std::vector<uint32_t>& /*per_service_count*/,std::vector<uint32_t>& /*per_priority_count*/) { return 0;}
|
||||
virtual int getQueueSize(bool /* in */) { return 0;}
|
||||
virtual float getRate(bool in)
|
||||
{
|
||||
|
@ -113,6 +113,11 @@ class RsStackMutex
|
||||
double ts = getCurrentTS() ;
|
||||
_time_stamp = ts ;
|
||||
pthread_t owner = mMtx.owner() ;
|
||||
#else
|
||||
/* remove unused parameter warnings */
|
||||
(void) function_name;
|
||||
(void) file_name;
|
||||
(void) lineno;
|
||||
#endif
|
||||
|
||||
mMtx.lock();
|
||||
|
Loading…
Reference in New Issue
Block a user