From 3030e604f4abe3d2155eb77c124829f1d7213f35 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 13 Mar 2006 23:42:21 +0000 Subject: Don't cleanup commodities if Ledger was built in release mode. --- main.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.cc') diff --git a/main.cc b/main.cc index 7769a7c9..930fc903 100644 --- a/main.cc +++ b/main.cc @@ -350,6 +350,9 @@ int parse_and_report(int argc, char * argv[], char * envp[]) int main(int argc, char * argv[], char * envp[]) { try { +#if DEBUG_LEVEL < BETA + ledger::do_cleanup = false; +#endif return parse_and_report(argc, argv, envp); } catch (const std::exception& err) { -- cgit v1.2.3