aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorGiel van Schijndel <me@mortis.eu>2011-06-24 22:00:59 +0200
committerGiel van Schijndel <me@mortis.eu>2011-07-13 05:10:15 +0200
commit858cebed7dee2e9801e754a9969844b7969254ee (patch)
treead12ee913c13750c880a6bd04508cc25be8f8545 /src/db.cpp
parent225f222c9fba7a831e2e5f80ccbba34ed2bca532 (diff)
fix warning: unused variable 'X' [-Wunused-variable]
Remove several unused variables. Signed-off-by: Giel van Schijndel <me@mortis.eu>
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 1dea92eadc..4df05d68ed 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -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();