aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-15 09:12:50 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-15 09:12:50 +0200
commit3f46c5b4e1eda10545f761b6af8acf77f631c9b3 (patch)
tree46f6177c479400199695d03a5ad1e47772b70bc3 /src/simplewallet/simplewallet.cpp
parent37aea526a9b980ef0cb47403a7a587390baa248f (diff)
parent383c38fdb1c3e3b1d4c64d858a0f604a804bd402 (diff)
downloadmonzero-core-3f46c5b4e1eda10545f761b6af8acf77f631c9b3.tar.gz
monzero-core-3f46c5b4e1eda10545f761b6af8acf77f631c9b3.tar.xz
monzero-core-3f46c5b4e1eda10545f761b6af8acf77f631c9b3.zip
Merge pull request #5365
383c38fd fix init warning on whatever compiler version (italocoin)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index db5ed32f7..2e134931f 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -5065,8 +5065,7 @@ bool simple_wallet::refresh_main(uint64_t start_height, enum ResetType reset, bo
LOCK_IDLE_SCOPE();
crypto::hash transfer_hash_pre{};
- uint64_t height_pre, height_post;
-
+ uint64_t height_pre = 0, height_post;
if (reset != ResetNone)
{
if (reset == ResetSoftKeepKI)