From 43873535d4aa7091945cfdfffcfcf162070b5e06 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 20 Oct 2016 11:28:22 -0700 Subject: [PATCH] Fixes CID 1352686 uninitialized scalar variable. --- src/txmempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/txmempool.h b/src/txmempool.h index a6901fde6..e6fd8e60b 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -92,7 +92,7 @@ private: unsigned int nTransactionsUpdated; CBlockPolicyEstimator* minerPolicyEstimator; - uint64_t totalTxSize; //! sum of all mempool tx' byte sizes + uint64_t totalTxSize = 0; //! sum of all mempool tx' byte sizes public: mutable CCriticalSection cs;