diff options
-rw-r--r-- | src/post.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/post.cc b/src/post.cc index fbbf26de..7dd0c9b2 100644 --- a/src/post.cc +++ b/src/post.cc @@ -214,9 +214,8 @@ namespace { value_t get_account(call_scope_t& scope) { in_context_t<post_t> env(scope, "&v"); - string name; - account_t * account = NULL; - bool seeking_account = false; + + string name; if (env.has(0)) { if (env.value_at(0).is_long()) { @@ -227,7 +226,8 @@ namespace { else name = env->reported_account()->fullname(); } else { - account_t * master = env->account; + account_t * account = NULL; + account_t * master = env->account; while (master->parent) master = master->parent; |