mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-02 13:12:16 -04:00
suppressed some uninitialised memory reads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5ff5a37bd2
commit
365ef569dc
3 changed files with 18 additions and 12 deletions
|
@ -328,7 +328,7 @@ bool ftTransferModule::getChunk(const std::string& peer_id,uint32_t size_hint,ui
|
|||
#endif
|
||||
|
||||
bool source_peer_map_needed ;
|
||||
bool file_is_complete ;
|
||||
bool file_is_complete = false;
|
||||
|
||||
bool val = mFileCreator->getMissingChunk(peer_id,size_hint,offset, chunk_size,source_peer_map_needed,file_is_complete);
|
||||
|
||||
|
|
|
@ -152,6 +152,12 @@ p3ConnectMgr::p3ConnectMgr()
|
|||
mExtAddrFinder = new ExtAddrFinder;
|
||||
mNetInitTS = 0;
|
||||
|
||||
netFlagExtraAddressCheckOk = false;
|
||||
netFlagLocalOk = false;
|
||||
netFlagUpnpOk = false;
|
||||
netFlagDhtOk = false;
|
||||
netFlagStunOk = false;
|
||||
|
||||
netReset();
|
||||
|
||||
return;
|
||||
|
|
|
@ -257,7 +257,7 @@ bool upnphandler::shutdown_upnp()
|
|||
|
||||
upnphandler::upnphandler()
|
||||
:toEnable(false), toStart(false), toStop(false),
|
||||
eport(0), eport_curr(0)
|
||||
eport(0),iport(0), eport_curr(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue