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
commit aab102cbae
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -1017,7 +1017,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();