diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 10:09:57 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 11:58:46 +0000 |
commit | 4eca42b2411c7ff11fea7b9b64881509d90932e3 (patch) | |
tree | b65e96c66cd5c5a0a0a4b742acfd2aa416d508f9 | |
parent | Merge pull request #4502 (diff) | |
download | monero-4eca42b2411c7ff11fea7b9b64881509d90932e3.tar.xz |
blockchain_db: initialize m_hardfork in ctor just in case
Coverity 136568
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 2 |
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. |