diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-18 05:50:21 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-18 05:50:21 -0500 |
commit | 6cd0ba584e7bc64cbf86c58ca6fd208ba19e9dae (patch) | |
tree | e424f039c6ff157b0ac2d98776fdda8dda236658 /src/times.cc | |
parent | e4b3f0bb3a74b799f0f67d8b2f1efeedad5e2021 (diff) | |
download | fork-ledger-6cd0ba584e7bc64cbf86c58ca6fd208ba19e9dae.tar.gz fork-ledger-6cd0ba584e7bc64cbf86c58ca6fd208ba19e9dae.tar.bz2 fork-ledger-6cd0ba584e7bc64cbf86c58ca6fd208ba19e9dae.zip |
Guarded some debug code
Diffstat (limited to 'src/times.cc')
-rw-r--r-- | src/times.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/times.cc b/src/times.cc index 646f2a84..e3ccaff8 100644 --- a/src/times.cc +++ b/src/times.cc @@ -1102,10 +1102,12 @@ void date_interval_t::stabilize(const optional<date_t>& date) DEBUG("times.interval", "stabilize: finish reset to initial finish"); } +#if defined(DEBUG_ON) if (start) DEBUG("times.interval", "stabilize: final start = " << *start); if (finish) DEBUG("times.interval", "stabilize: final finish = " << *finish); +#endif } else if (range) { if (date) { |