diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-17 14:29:42 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:06:21 -0600 |
commit | 6a9743d833e5b8e856d0991506c804ae78865171 (patch) | |
tree | 3347381ff7fb372f1101b10f1130266dccc67706 /src/post.cc | |
parent | ad792301585c285e50744ab2fa2c5de1c9d8b5e3 (diff) | |
download | fork-ledger-6a9743d833e5b8e856d0991506c804ae78865171.tar.gz fork-ledger-6a9743d833e5b8e856d0991506c804ae78865171.tar.bz2 fork-ledger-6a9743d833e5b8e856d0991506c804ae78865171.zip |
Fixes for variable shadowing (21/28)
Diffstat (limited to 'src/post.cc')
-rw-r--r-- | src/post.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post.cc b/src/post.cc index cec1179f..ed5cd911 100644 --- a/src/post.cc +++ b/src/post.cc @@ -722,11 +722,11 @@ void to_xml(std::ostream& out, const post_t& post) if (pair.second.first) { push_xml z(out, "variable"); { - push_xml z(out, "key"); + push_xml w(out, "key"); out << y.guard(pair.first); } { - push_xml z(out, "value"); + push_xml w(out, "value"); to_xml(out, *pair.second.first); } } else { |