removed uninitialized memory read

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3149 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-06-16 18:59:28 +00:00
parent aa15f95907
commit 9bac4ea41f

View File

@ -1249,6 +1249,7 @@ bool AuthGPG::LoadCertificateFromString(std::string str, std::string &gpg_id)
}
//retrieve the id of the key
certmap::iterator it;
gpg_id = "" ;
RsStackReadWriteMutex stack(pgpMtx, RsReadWriteMutex::READ_LOCK); /******* LOCKED ******/
for(it = mKeyList.begin(); it != mKeyList.end(); it++)
{