diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-19 19:32:40 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-20 04:48:05 -0500 |
commit | 4681e58d7f3cda2a2ac6d05b6ec1a106f568e029 (patch) | |
tree | 488d6531d688c68713baa5c1d70fb37be198b861 /src/select.cc | |
parent | 303976e563608d8a1f4eb09ac5c9402ae5ce74fd (diff) | |
download | fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.tar.gz fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.tar.bz2 fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.zip |
Converted the Ledger build system to use CMake
Diffstat (limited to 'src/select.cc')
-rw-r--r-- | src/select.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/select.cc b/src/select.cc index 20a78701..afcfb351 100644 --- a/src/select.cc +++ b/src/select.cc @@ -178,12 +178,8 @@ value_t select_command(call_scope_t& args) lexical_cast<std::size_t>(report.HANDLER(meta_width_).str()) : 10); - bool saw_date = false; bool saw_payee = false; bool saw_account = false; - bool saw_amount = false; - bool saw_total = false; - bool saw_meta = false; std::size_t cols_needed = 0; foreach (const value_t& column, columns.to_sequence()) { @@ -191,7 +187,6 @@ value_t select_command(call_scope_t& args) if (get_principal_identifiers(as_expr(column), ident)) { if (ident == "date" || ident == "aux_date") { cols_needed += date_width + 1; - saw_date = true; } else if (ident == "payee") { cols_needed += payee_width + 1; @@ -203,15 +198,12 @@ value_t select_command(call_scope_t& args) } else if (ident == "amount") { cols_needed += amount_width + 1; - saw_amount = true; } else if (ident == "total") { cols_needed += total_width + 1; - saw_total = true; } else { cols_needed += meta_width + 1; - saw_meta = true; } } } |