From 6a9743d833e5b8e856d0991506c804ae78865171 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 14:29:42 -0600 Subject: Fixes for variable shadowing (21/28) --- src/post.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/post.cc') 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 { -- cgit v1.2.3