Guarded some debug code
This commit is contained in:
parent
e4b3f0bb3a
commit
6cd0ba584e
1 changed files with 2 additions and 0 deletions
|
|
@ -1102,10 +1102,12 @@ void date_interval_t::stabilize(const optional<date_t>& date)
|
||||||
DEBUG("times.interval", "stabilize: finish reset to initial finish");
|
DEBUG("times.interval", "stabilize: finish reset to initial finish");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(DEBUG_ON)
|
||||||
if (start)
|
if (start)
|
||||||
DEBUG("times.interval", "stabilize: final start = " << *start);
|
DEBUG("times.interval", "stabilize: final start = " << *start);
|
||||||
if (finish)
|
if (finish)
|
||||||
DEBUG("times.interval", "stabilize: final finish = " << *finish);
|
DEBUG("times.interval", "stabilize: final finish = " << *finish);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else if (range) {
|
else if (range) {
|
||||||
if (date) {
|
if (date) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue