Guarded some debug code

This commit is contained in:
John Wiegley 2009-11-18 05:50:21 -05:00
parent e4b3f0bb3a
commit 6cd0ba584e

View file

@ -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) {