Fix a few "Uninitialized scalar field" warnings

Fix a few warnings reported by Coverity.
None of these is critical, but making sure that class fields are
initialized can avoid heisenbugs.
This commit is contained in:
Wladimir J. van der Laan
2014-08-28 15:28:57 +02:00
parent 11a899445e
commit 8bdd2877c4
6 changed files with 11 additions and 7 deletions

View File

@@ -189,7 +189,7 @@ private:
public:
// Construct an invalid private key.
CKey() : fValid(false) {
CKey() : fValid(false), fCompressed(false) {
LockObject(vch);
}