mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -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;
|
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 int getQueueSize(bool /* in */) { return 0;}
|
||||||
virtual float getRate(bool in)
|
virtual float getRate(bool in)
|
||||||
{
|
{
|
||||||
|
@ -113,6 +113,11 @@ class RsStackMutex
|
|||||||
double ts = getCurrentTS() ;
|
double ts = getCurrentTS() ;
|
||||||
_time_stamp = ts ;
|
_time_stamp = ts ;
|
||||||
pthread_t owner = mMtx.owner() ;
|
pthread_t owner = mMtx.owner() ;
|
||||||
|
#else
|
||||||
|
/* remove unused parameter warnings */
|
||||||
|
(void) function_name;
|
||||||
|
(void) file_name;
|
||||||
|
(void) lineno;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mMtx.lock();
|
mMtx.lock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user