mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
fix warning: unused variable 'X' [-Wunused-variable]
Remove several unused variables. Signed-off-by: Giel van Schijndel <me@mortis.eu>
This commit is contained in:
parent
225f222c9f
commit
858cebed7d
@ -627,8 +627,6 @@ int64 CWalletDB::GetAccountCreditDebit(const string& strAccount)
|
||||
|
||||
void CWalletDB::ListAccountCreditDebit(const string& strAccount, list<CAccountingEntry>& entries)
|
||||
{
|
||||
int64 nCreditDebit = 0;
|
||||
|
||||
bool fAllAccounts = (strAccount == "*");
|
||||
|
||||
Dbc* pcursor = GetCursor();
|
||||
|
@ -1700,7 +1700,7 @@ void StartNode(void* parg)
|
||||
printf("Error: CreateThread(ThreadIRCSeed) failed\n");
|
||||
|
||||
// Send and receive from sockets, accept connections
|
||||
pthread_t hThreadSocketHandler = CreateThread(ThreadSocketHandler, NULL, true);
|
||||
CreateThread(ThreadSocketHandler, NULL, true);
|
||||
|
||||
// Initiate outbound connections
|
||||
if (!CreateThread(ThreadOpenConnections, NULL))
|
||||
|
@ -2419,7 +2419,6 @@ int CommandLineRPC(int argc, char *argv[])
|
||||
// Parse reply
|
||||
const Value& result = find_value(reply, "result");
|
||||
const Value& error = find_value(reply, "error");
|
||||
const Value& id = find_value(reply, "id");
|
||||
|
||||
if (error.type() != null_type)
|
||||
{
|
||||
|
@ -722,8 +722,6 @@ void CWallet::ResendWalletTransactions()
|
||||
|
||||
int64 CWallet::GetBalance() const
|
||||
{
|
||||
int64 nStart = GetTimeMillis();
|
||||
|
||||
int64 nTotal = 0;
|
||||
CRITICAL_BLOCK(cs_mapWallet)
|
||||
{
|
||||
@ -736,7 +734,6 @@ int64 CWallet::GetBalance() const
|
||||
}
|
||||
}
|
||||
|
||||
//printf("GetBalance() %"PRI64d"ms\n", GetTimeMillis() - nStart);
|
||||
return nTotal;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user