From cf4a665a0e9f630c3ed5400d1114fcc297194da1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 14:26:54 -0600 Subject: Fixes for variable shadowing (6/28) --- src/commodity.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commodity.cc') 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& 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 -- cgit v1.2.3