From ad792301585c285e50744ab2fa2c5de1c9d8b5e3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 14:29:37 -0600 Subject: Fixes for variable shadowing (20/28) --- src/post.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/post.cc') diff --git a/src/post.cc b/src/post.cc index 862460df..cec1179f 100644 --- a/src/post.cc +++ b/src/post.cc @@ -641,10 +641,10 @@ void post_t::add_to_value(value_t& value, const optional& expr) const } } -void post_t::set_reported_account(account_t * account) +void post_t::set_reported_account(account_t * acct) { - xdata().account = account; - account->xdata().reported_posts.push_back(this); + xdata().account = acct; + acct->xdata().reported_posts.push_back(this); } void to_xml(std::ostream& out, const post_t& post) -- cgit v1.2.3