mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-10 03:49:51 -05:00
Fix Clang warnings: private field not used
warning: private field 'lastGroupId' is not used [-Wunused-private- field] uint32_t lastGroupId; warning: private field 'waittimes' is not used [-Wunused-private-field] int waittimes; warning: private field 'listen_checktime' is not used [-Wunused-private- field] long listen_checktime;
This commit is contained in:
parent
65321501e4
commit
dc533b1346
@ -397,7 +397,7 @@ private:
|
|||||||
std::map<RsPeerId,sockaddr_storage> mReportedOwnAddresses ;
|
std::map<RsPeerId,sockaddr_storage> mReportedOwnAddresses ;
|
||||||
|
|
||||||
std::map<RsNodeGroupId,RsGroupInfo> groupList;
|
std::map<RsNodeGroupId,RsGroupInfo> groupList;
|
||||||
uint32_t lastGroupId;
|
//uint32_t lastGroupId;
|
||||||
|
|
||||||
std::list<RsItem *> saveCleanupList; /* TEMPORARY LIST WHEN SAVING */
|
std::list<RsItem *> saveCleanupList; /* TEMPORARY LIST WHEN SAVING */
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ static struct RsLog::logInfo pqipersonzoneInfo = {RsLog::Default, "pqiperson"};
|
|||||||
|
|
||||||
pqiperson::pqiperson(const RsPeerId& id, pqipersongrp *pg) :
|
pqiperson::pqiperson(const RsPeerId& id, pqipersongrp *pg) :
|
||||||
PQInterface(id), mNotifyMtx("pqiperson-notify"), mPersonMtx("pqiperson"),
|
PQInterface(id), mNotifyMtx("pqiperson-notify"), mPersonMtx("pqiperson"),
|
||||||
active(false), activepqi(NULL), inConnectAttempt(false), waittimes(0),
|
active(false), activepqi(NULL), inConnectAttempt(false),// waittimes(0),
|
||||||
pqipg(pg) {} // TODO: must check id!
|
pqipg(pg) {} // TODO: must check id!
|
||||||
|
|
||||||
pqiperson::~pqiperson()
|
pqiperson::~pqiperson()
|
||||||
|
@ -172,7 +172,7 @@ private:
|
|||||||
bool active;
|
bool active;
|
||||||
pqiconnect *activepqi;
|
pqiconnect *activepqi;
|
||||||
bool inConnectAttempt;
|
bool inConnectAttempt;
|
||||||
int waittimes;
|
//int waittimes;
|
||||||
time_t lastHeartbeatReceived; // use to track connection failure
|
time_t lastHeartbeatReceived; // use to track connection failure
|
||||||
pqipersongrp *pqipg; /* parent for callback */
|
pqipersongrp *pqipg; /* parent for callback */
|
||||||
};
|
};
|
||||||
|
@ -53,7 +53,7 @@ static const uint32_t PQI_SSLUDP_DEF_CONN_PERIOD = 300; /* 5 minutes? */
|
|||||||
/********** PQI SSL UDP STUFF **************************************/
|
/********** PQI SSL UDP STUFF **************************************/
|
||||||
|
|
||||||
pqissludp::pqissludp(PQInterface *parent, p3LinkMgr *lm) :
|
pqissludp::pqissludp(PQInterface *parent, p3LinkMgr *lm) :
|
||||||
pqissl(NULL, parent, lm), tou_bio(NULL), listen_checktime(0),
|
pqissl(NULL, parent, lm), tou_bio(NULL),// listen_checktime(0),
|
||||||
mConnectPeriod(PQI_SSLUDP_DEF_CONN_PERIOD), mConnectFlags(0),
|
mConnectPeriod(PQI_SSLUDP_DEF_CONN_PERIOD), mConnectFlags(0),
|
||||||
mConnectBandwidth(0)
|
mConnectBandwidth(0)
|
||||||
{
|
{
|
||||||
|
@ -95,7 +95,7 @@ private:
|
|||||||
|
|
||||||
BIO *tou_bio; // specific to ssludp.
|
BIO *tou_bio; // specific to ssludp.
|
||||||
|
|
||||||
long listen_checktime;
|
//long listen_checktime;
|
||||||
|
|
||||||
uint32_t mConnectPeriod;
|
uint32_t mConnectPeriod;
|
||||||
uint32_t mConnectFlags;
|
uint32_t mConnectFlags;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user