summaryrefslogtreecommitdiff
path: root/valexpr.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-17 03:09:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-17 03:09:46 -0400
commitb00999893006891affccc15cfd5d60b9adb7af8c (patch)
tree3cc5383dc127cd3a187a8e830cd8fa3c72ce455a /valexpr.cc
parentc0d7feac7f4af1b3535834f511e2e9ef2c2f7cb0 (diff)
downloadfork-ledger-b00999893006891affccc15cfd5d60b9adb7af8c.tar.gz
fork-ledger-b00999893006891affccc15cfd5d60b9adb7af8c.tar.bz2
fork-ledger-b00999893006891affccc15cfd5d60b9adb7af8c.zip
if NO_CLEANUP is defined in the Makefile (now default), no cleanup is done
Diffstat (limited to 'valexpr.cc')
-rw-r--r--valexpr.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/valexpr.cc b/valexpr.cc
index f0eaa0e3..2f83a033 100644
--- a/valexpr.cc
+++ b/valexpr.cc
@@ -886,8 +886,7 @@ void dump_value_expr(std::ostream& out, const value_expr_t * node)
int main(int argc, char *argv[])
{
- std::auto_ptr<ledger::value_expr_t> expr(ledger::parse_value_expr(argv[1]));
- ledger::dump_value_expr(std::cout, expr.get());
+ ledger::dump_value_expr(std::cout, ledger::parse_value_expr(argv[1]));
std::cout << std::endl;
}