fix init warning on whatever compiler version

This commit is contained in:
italocoin 2019-03-29 11:16:06 -04:00
parent 423d3bb86b
commit 383c38fdb1

View file

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