diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-29 18:24:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-29 18:24:10 -0400 |
commit | da1cd7c4bc70f4afb594acf61295539caa84a87e (patch) | |
tree | e0eca17d8108cb4c2bd963fc431de463f4120e87 /src/option.cc | |
parent | 05c77351e458c08873c813264005f61f828b5383 (diff) | |
download | fork-ledger-da1cd7c4bc70f4afb594acf61295539caa84a87e.tar.gz fork-ledger-da1cd7c4bc70f4afb594acf61295539caa84a87e.tar.bz2 fork-ledger-da1cd7c4bc70f4afb594acf61295539caa84a87e.zip |
Whitespace cleanup.
Diffstat (limited to 'src/option.cc')
-rw-r--r-- | src/option.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/option.cc b/src/option.cc index 65de3d1f..3cafa06a 100644 --- a/src/option.cc +++ b/src/option.cc @@ -49,8 +49,7 @@ namespace { } *p = '\0'; - expr_t::ptr_op_t op = scope.lookup(buf); - if (op) + if (expr_t::ptr_op_t op = scope.lookup(buf)) return op_bool_tuple(op, false); *p++ = '_'; @@ -66,8 +65,7 @@ namespace { buf[4] = letter; buf[5] = '\0'; - expr_t::ptr_op_t op = scope.lookup(buf); - if (op) + if (expr_t::ptr_op_t op = scope.lookup(buf)) return op_bool_tuple(op, false); buf[5] = '_'; |