aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorKevin Barbour <kevinbarbourd@gmail.com>2021-01-23 10:38:50 +0100
committerKevin Barbour <kevinbarbourd@gmail.com>2021-02-09 08:05:05 +0100
commit85db1734e7dd456c1edb095a2c829527262b96c7 (patch)
tree988b4b80b55192462b33c1acc7210746c1e1f0a0 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #7260 (diff)
downloadmonero-85db1734e7dd456c1edb095a2c829527262b96c7.tar.xz
Remove unused variables in monero codebase
There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet_rpc_server.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 03db8b70f..c58860c01 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -1282,7 +1282,6 @@ namespace tools
dests.erase(cd.change_dts.addr);
}
- size_t n_dummy_outputs = 0;
for (auto i = dests.begin(); i != dests.end(); )
{
if (i->second.second > 0)