mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
sorted initialisation routine. Removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e68eb075af
commit
a9c40bf1d8
@ -58,27 +58,37 @@ void RsGxsGrpMetaData::clear(){
|
||||
|
||||
mGroupId.clear();
|
||||
mOrigGrpId.clear();
|
||||
mAuthorId.clear();
|
||||
mGroupName.clear();
|
||||
mServiceString.clear();
|
||||
mPublishTs = 0;
|
||||
mGroupFlags = 0;
|
||||
mPublishTs = 0;
|
||||
mSignFlags = 0;
|
||||
mAuthorId.clear();
|
||||
|
||||
mCircleId.clear();
|
||||
mCircleType = 0;
|
||||
|
||||
signSet.TlvClear();
|
||||
keys.TlvClear();
|
||||
|
||||
mServiceString.clear();
|
||||
mAuthenFlags = 0;
|
||||
mParentGrpId.clear();
|
||||
|
||||
mSubscribeFlags = 0;
|
||||
|
||||
mPop = 0;
|
||||
mMsgCount = 0;
|
||||
mGroupStatus = 0;
|
||||
mLastPost = 0;
|
||||
mSubscribeFlags = 0;
|
||||
signSet.TlvClear();
|
||||
keys.TlvClear();
|
||||
mCircleId.clear();
|
||||
mInternalCircle.clear();
|
||||
mOriginator.clear();
|
||||
mCircleType = 0;
|
||||
mAuthenFlags = 0;
|
||||
mParentGrpId.clear();
|
||||
mRecvTS = 0;
|
||||
mReputationCutOff = 0;
|
||||
mGrpSize = 0 ;
|
||||
|
||||
mGroupStatus = 0 ;
|
||||
mRecvTS = 0;
|
||||
|
||||
mOriginator.clear();
|
||||
mInternalCircle.clear();
|
||||
mHash.clear() ;
|
||||
}
|
||||
|
||||
bool RsGxsGrpMetaData::serialise(void *data, uint32_t &pktsize)
|
||||
|
Loading…
Reference in New Issue
Block a user