suppressed uninitialised memory read

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3070 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-06-05 19:07:19 +00:00
parent d28c1f7cb7
commit 790ba02350

View File

@ -1102,10 +1102,15 @@ int ensureExtension(std::string &name, std::string def_ext)
RsPeerDetails::RsPeerDetails()
:trustLvl(0), ownsign(false), state(0), netMode(0),
lastConnect(0), connectPeriod(0)
:isOnlyGPGdetail(false),
id(""),gpg_id(""),
name(""),email(""),location(""),
org(""),issuer(""),fpr(""),authcode(""),
trustLvl(0), validLvl(0),ownsign(false),
hasSignedMe(false),accept_connection(false),
state(0),localAddr(""),localPort(0),extAddr(""),extPort(0),netMode(0),visState(0),
lastConnect(0),autoconnect(""),connectPeriod(0)
{
return;
}
std::ostream &operator<<(std::ostream &out, const RsPeerDetails &detail)