mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 20:04:24 -04:00
Fix Clang warnings: private field not used
warning: private field 'mNetMgr' is not used [-Wunused-private-field] p3NetMgr *mNetMgr;
This commit is contained in:
parent
872f42bcef
commit
039908b2c6
2 changed files with 3 additions and 3 deletions
|
@ -66,8 +66,8 @@
|
||||||
*/
|
*/
|
||||||
RsBanList *rsBanList = NULL ;
|
RsBanList *rsBanList = NULL ;
|
||||||
|
|
||||||
p3BanList::p3BanList(p3ServiceControl *sc, p3NetMgr *nm)
|
p3BanList::p3BanList(p3ServiceControl *sc, p3NetMgr */*nm*/)
|
||||||
:p3Service(), mBanMtx("p3BanList"), mServiceCtrl(sc), mNetMgr(nm)
|
:p3Service(), mBanMtx("p3BanList"), mServiceCtrl(sc)//, mNetMgr(nm)
|
||||||
{
|
{
|
||||||
addSerialType(new RsBanListSerialiser());
|
addSerialType(new RsBanListSerialiser());
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,7 @@ private:
|
||||||
std::map<struct sockaddr_storage, BanListPeer> mWhiteListedRanges;
|
std::map<struct sockaddr_storage, BanListPeer> mWhiteListedRanges;
|
||||||
|
|
||||||
p3ServiceControl *mServiceCtrl;
|
p3ServiceControl *mServiceCtrl;
|
||||||
p3NetMgr *mNetMgr;
|
//p3NetMgr *mNetMgr;
|
||||||
time_t mLastDhtInfoRequest ;
|
time_t mLastDhtInfoRequest ;
|
||||||
|
|
||||||
bool mIPFilteringEnabled ;
|
bool mIPFilteringEnabled ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue