fixed uninitialised memory read in test libretroshare_gxs.gxs_grp_sync_delayed

This commit is contained in:
electron128 2015-12-13 20:48:55 +01:00
parent 7d0845ecc5
commit 64b9e3477a
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,8 @@ using namespace rs_nxs_test;
NxsGrpSync::NxsGrpSync(RsGcxs* circle, RsGixsReputation* reputation) NxsGrpSync::NxsGrpSync(RsGcxs* circle, RsGixsReputation* reputation):
mServType(0)
{ {
int numPeers = 2; int numPeers = 2;

View File

@ -17,7 +17,7 @@
using namespace rs_nxs_test; using namespace rs_nxs_test;
rs_nxs_test::NxsMsgSync::NxsMsgSync() rs_nxs_test::NxsMsgSync::NxsMsgSync()
: mPgpUtils(NULL) { : mPgpUtils(NULL), mServType(0) {
int numPeers = 2; int numPeers = 2;
// create 2 peers // create 2 peers