From 351b38fd5b1b10d26deb659fec3f34671095b477 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 20 Oct 2016 11:35:51 -0700 Subject: [PATCH] Fixes CID 1352599 unitialized scalar variable --- src/primitives/transaction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 2e83773c4..9ed8012bf 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -52,7 +52,7 @@ public: // These contain trapdoors, values and other information // that the recipient needs, including a memo field. It // is encrypted using the scheme implemented in crypto/NoteEncryption.cpp - boost::array ciphertexts; + boost::array ciphertexts = {0}; // Random seed uint256 randomSeed;