Merge pull request #5365

383c38fd fix init warning on whatever compiler version (italocoin)
This commit is contained in:
Riccardo Spagni 2019-04-15 09:12:50 +02:00
commit 3f46c5b4e1
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -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)