mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-03 18:34:46 +00:00
Explicitly initialize members of fundamental types; avoids "jump depends on
uninitialized value"-warnings by valgrind.
This commit is contained in:
parent
9233a01d8f
commit
3f4cc4535d
@ -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…
x
Reference in New Issue
Block a user