summaryrefslogtreecommitdiff
path: root/valexpr.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-22 18:34:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-22 18:34:18 -0400
commit6365b8b7a807351209330ba65b05e612c5901908 (patch)
treee60f618e847d12c55c129aa3b534b5d495b2d313 /valexpr.cc
parent02168c782364a1a8641b4bed7ebf4a84cb6b3560 (diff)
downloadfork-ledger-6365b8b7a807351209330ba65b05e612c5901908.tar.gz
fork-ledger-6365b8b7a807351209330ba65b05e612c5901908.tar.bz2
fork-ledger-6365b8b7a807351209330ba65b05e612c5901908.zip
simplified some code
Diffstat (limited to 'valexpr.cc')
-rw-r--r--valexpr.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/valexpr.cc b/valexpr.cc
index acc46378..4c520419 100644
--- a/valexpr.cc
+++ b/valexpr.cc
@@ -114,19 +114,11 @@ void value_expr_t::compute(value_t& result, const details_t& details,
break;
case VALUE_EXPR:
-#ifdef DO_CLEANUP
- assert(format_t::value_expr.get());
-#else
assert(format_t::value_expr);
-#endif
format_t::value_expr->compute(result, details);
break;
case TOTAL_EXPR:
-#ifdef DO_CLEANUP
- assert(format_t::total_expr.get());
-#else
assert(format_t::total_expr);
-#endif
format_t::total_expr->compute(result, details);
break;