summaryrefslogtreecommitdiff
path: root/src/draft.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 14:27:39 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:06:07 -0600
commite644d364a14a35bc2788c24ca49e105e39f0c960 (patch)
treed57330030dc8647d13b0c8a4dcadab034afce09f /src/draft.cc
parent36b541ac428246e24318e4d118feb40862cf4d1c (diff)
downloadfork-ledger-e644d364a14a35bc2788c24ca49e105e39f0c960.tar.gz
fork-ledger-e644d364a14a35bc2788c24ca49e105e39f0c960.tar.bz2
fork-ledger-e644d364a14a35bc2788c24ca49e105e39f0c960.zip
Fixes for variable shadowing (10/28)
Diffstat (limited to 'src/draft.cc')
-rw-r--r--src/draft.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/draft.cc b/src/draft.cc
index 0cce1d5d..12a14c40 100644
--- a/src/draft.cc
+++ b/src/draft.cc
@@ -98,9 +98,8 @@ void draft_t::parse_args(const value_t& args)
tmpl = xact_template_t();
- optional<date_time::weekdays> weekday;
- xact_template_t::post_template_t * post = NULL;
-
+ optional<date_time::weekdays> weekday;
+ xact_template_t::post_template_t * post = NULL;
value_t::sequence_t::const_iterator begin = args.begin();
value_t::sequence_t::const_iterator end = args.end();