diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-04 06:02:00 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-04 06:02:00 -0400 |
commit | b848ace76866188701a6a704a9531c4eeb2bc71a (patch) | |
tree | 6fdb3e1cf8a8239c89c03907447a08402bef391b /src/global.cc | |
parent | f16a5382ed9a9750c69595e5752f80e39cf7a4b8 (diff) | |
download | fork-ledger-b848ace76866188701a6a704a9531c4eeb2bc71a.tar.gz fork-ledger-b848ace76866188701a6a704a9531c4eeb2bc71a.tar.bz2 fork-ledger-b848ace76866188701a6a704a9531c4eeb2bc71a.zip |
Allow opt -NDEBUG build to complete without warnings
Diffstat (limited to 'src/global.cc')
-rw-r--r-- | src/global.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global.cc b/src/global.cc index 170509b0..35651ddb 100644 --- a/src/global.cc +++ b/src/global.cc @@ -391,11 +391,13 @@ global_scope_t::read_command_arguments(scope_t& scope, strings_list args) void global_scope_t::normalize_session_options() { +#if defined(LOGGING_ON) INFO("Initialization file is " << HANDLER(init_file_).str()); INFO("Price database is " << session().HANDLER(price_db_).str()); foreach (const path& pathname, session().HANDLER(file_).data_files) INFO("Journal file is " << pathname.string()); +#endif // defined(LOGGING_ON) } expr_t::func_t global_scope_t::look_for_precommand(scope_t& scope, |