diff options
| author | italocoin <info@italocoin.com> | 2019-03-29 11:16:06 -0400 |
|---|---|---|
| committer | italocoin <info@italocoin.com> | 2019-03-29 11:25:36 -0400 |
| commit | 383c38fdb1c3e3b1d4c64d858a0f604a804bd402 (patch) | |
| tree | 2a92fa41936c18dbf524c10b87f72fc6f93dfd5e /src/simplewallet/simplewallet.cpp | |
| parent | 423d3bb86b7bd6f99e70e0f05c45fae97cd68cd9 (diff) | |
| download | monzero-core-383c38fdb1c3e3b1d4c64d858a0f604a804bd402.tar.gz monzero-core-383c38fdb1c3e3b1d4c64d858a0f604a804bd402.tar.xz monzero-core-383c38fdb1c3e3b1d4c64d858a0f604a804bd402.zip | |
fix init warning on whatever compiler version
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
| -rw-r--r-- | src/simplewallet/simplewallet.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index d5835609a..1d9f85af3 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -4749,8 +4749,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) |
