Fix uninitialized variables netsize, rsnetsize in p3netmgr.cc

This commit is contained in:
Phenom 2016-05-12 20:00:44 +02:00
parent 1d476de806
commit a1ece16f35

View File

@ -1640,7 +1640,7 @@ void p3NetMgrIMPL::getNetStatus(pqiNetStatus &status)
/* must extract data... then update mNetFlags */
bool dhtOk = netAssistConnectActive();
uint32_t netsize, rsnetsize;
uint32_t netsize = 0, rsnetsize = 0;
netAssistConnectStats(netsize, rsnetsize);
RsStackMutex stack(mNetMtx); /****** STACK LOCK MUTEX *******/