Browse Source

Merge pull request #71 from s9h869e5k5/fix-valgrind-warnings

Avoid valgrind warning.
miguelfreitas
miguelfreitas 11 years ago
parent
commit
194d17cd46
  1. 2
      src/wallet.h

2
src/wallet.h

@ -98,6 +98,7 @@ public:
nMasterKeyMaxID = 0; nMasterKeyMaxID = 0;
pwalletdbEncryption = NULL; pwalletdbEncryption = NULL;
nOrderPosNext = 0; nOrderPosNext = 0;
nTimeFirstKey = 0;
} }
CWallet(std::string strWalletFileIn) CWallet(std::string strWalletFileIn)
{ {
@ -108,6 +109,7 @@ public:
nMasterKeyMaxID = 0; nMasterKeyMaxID = 0;
pwalletdbEncryption = NULL; pwalletdbEncryption = NULL;
nOrderPosNext = 0; nOrderPosNext = 0;
nTimeFirstKey = 0;
} }
std::map<uint256, CWalletTx> mapWallet; std::map<uint256, CWalletTx> mapWallet;

Loading…
Cancel
Save