From 14c29814694efcc572c10cb62b2bdd74033c7f32 Mon Sep 17 00:00:00 2001
From: moneromooo-monero <moneromooo-monero@users.noreply.github.com>
Date: Tue, 19 Dec 2017 12:33:01 +0000
Subject: [PATCH] wallet2: fix use of uninitialized data

---
 src/wallet/wallet2.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 04c6ee236..87c5704f7 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -595,6 +595,7 @@ wallet2::wallet2(bool testnet, bool restricted):
   m_min_output_value(0),
   m_merge_destinations(false),
   m_confirm_backlog(true),
+  m_confirm_backlog_threshold(0),
   m_is_initialized(false),
   m_restricted(restricted),
   is_old_file_format(false),