aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-16 10:09:57 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-16 11:58:46 +0000
commit4eca42b2411c7ff11fea7b9b64881509d90932e3 (patch)
treeb65e96c66cd5c5a0a0a4b742acfd2aa416d508f9 /src
parentMerge pull request #4502 (diff)
downloadmonero-4eca42b2411c7ff11fea7b9b64881509d90932e3.tar.xz
blockchain_db: initialize m_hardfork in ctor just in case
Coverity 136568
Diffstat (limited to 'src')
-rw-r--r--src/blockchain_db/blockchain_db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h
index 396ae7544..71c46d76b 100644
--- a/src/blockchain_db/blockchain_db.h
+++ b/src/blockchain_db/blockchain_db.h
@@ -544,7 +544,7 @@ public:
/**
* @brief An empty constructor.
*/
- BlockchainDB(): m_open(false) { }
+ BlockchainDB(): m_hardfork(NULL), m_open(false) { }
/**
* @brief An empty destructor.