summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-10 02:42:09 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-10 02:42:09 -0500
commit294bf5a83d1687638f840e776abb16ef009fb4ef (patch)
tree9efbc4e2435c01da7f8d0364e5fc43c618642932 /src
parent329a0dfcc53354be7873385383ca6d8238e5a97e (diff)
downloadfork-ledger-294bf5a83d1687638f840e776abb16ef009fb4ef.tar.gz
fork-ledger-294bf5a83d1687638f840e776abb16ef009fb4ef.tar.bz2
fork-ledger-294bf5a83d1687638f840e776abb16ef009fb4ef.zip
Whitespace fix
Diffstat (limited to 'src')
-rw-r--r--src/post.cc8
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;