summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 14:26:54 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:06:02 -0600
commitcf4a665a0e9f630c3ed5400d1114fcc297194da1 (patch)
tree7af13c68804eae7b61995917d2aa509eb889762e /src/commodity.cc
parentf4e22cf7cb82f76245d962237acbe53c84cbd9d3 (diff)
downloadfork-ledger-cf4a665a0e9f630c3ed5400d1114fcc297194da1.tar.gz
fork-ledger-cf4a665a0e9f630c3ed5400d1114fcc297194da1.tar.bz2
fork-ledger-cf4a665a0e9f630c3ed5400d1114fcc297194da1.zip
Fixes for variable shadowing (6/28)
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 5685059d..3431a4ee 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -124,7 +124,7 @@ commodity_t::history_t::find_price(const optional<datetime_t>& moment,
#define DEBUG_INDENT(cat, indent) \
do { \
if (SHOW_DEBUG(cat)) \
- for (int i = 0; i < indent; i++) \
+ for (int _i = 0; _i < indent; _i++) \
ledger::_log_buffer << " "; \
} while (false)
#else