aboutsummaryrefslogtreecommitdiff
path: root/src/key.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-08-28 15:28:57 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-08-28 15:30:50 +0200
commit8bdd2877c4f959b0c4b93f3d9d1f465fb4960f3f (patch)
treeef7fed85ea38dde8929f15e02ff39c7e7b40da4a /src/key.h
parent11a899445edf3e07317eb312d3c1d9c71c06f618 (diff)
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.
Diffstat (limited to 'src/key.h')
-rw-r--r--src/key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key.h b/src/key.h
index 11dc65de8c..1de83cc738 100644
--- a/src/key.h
+++ b/src/key.h
@@ -189,7 +189,7 @@ private:
public:
// Construct an invalid private key.
- CKey() : fValid(false) {
+ CKey() : fValid(false), fCompressed(false) {
LockObject(vch);
}