return-statement with no value, in function returning ‘long long unsigned int’
This commit is contained in:
@@ -188,6 +188,7 @@ unsigned long long WalletFrame::updateWeight()
|
||||
WalletView *walletView = currentWalletView();
|
||||
if (walletView)
|
||||
return walletView->updateWeight();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void WalletFrame::usedSendingAddresses()
|
||||
|
||||
@@ -680,15 +680,15 @@ bool WalletModel::saveReceiveRequest(const std::string &sAddress, const int64_t
|
||||
unsigned long long WalletModel::updateWeight()
|
||||
{
|
||||
if (!wallet)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
TRY_LOCK(cs_main, lockMain);
|
||||
if (!lockMain)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
TRY_LOCK(wallet->cs_wallet, lockWallet);
|
||||
if (!lockWallet)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
return wallet->GetStakeWeight();
|
||||
}
|
||||
|
||||
@@ -286,6 +286,7 @@ unsigned long long WalletView::updateWeight()
|
||||
{
|
||||
if(walletModel)
|
||||
return walletModel->updateWeight();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void WalletView::usedSendingAddresses()
|
||||
|
||||
Reference in New Issue
Block a user