Browse Source

Explicitly initialize members of fundamental types; avoids "jump depends on

uninitialized value"-warnings by valgrind.
miguelfreitas
Jö Fahlke 11 years ago
parent
commit
3f4cc4535d
  1. 2
      src/wallet.h

2
src/wallet.h

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

Loading…
Cancel
Save