blockchain_db: initialize m_hardfork in ctor just in case

Coverity 136568
This commit is contained in:
moneromooo-monero 2018-10-16 10:09:57 +00:00
parent 1afc1d0d26
commit 4eca42b241
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -544,7 +544,7 @@ public:
/**
* @brief An empty constructor.
*/
BlockchainDB(): m_open(false) { }
BlockchainDB(): m_hardfork(NULL), m_open(false) { }
/**
* @brief An empty destructor.