Merge #9121: Initialize variable to prevent compiler warning

bdcba6d Initialize variable to prevent compiler warning (Pavel Janík)
This commit is contained in:
Wladimir J. van der Laan 2016-11-10 10:34:46 +01:00 committed by Alexander Block
parent 56ed800843
commit 5f6908619e

View File

@ -1221,7 +1221,7 @@ UniValue importmulti(const JSONRPCRequest& mainRequest)
bool fRunScan = false;
const int64_t minimumTimestamp = 1;
int64_t nLowestTimestamp;
int64_t nLowestTimestamp = 0;
if (fRescan && chainActive.Tip()) {
nLowestTimestamp = chainActive.Tip()->GetBlockTime();