From 6cd0ba584e7bc64cbf86c58ca6fd208ba19e9dae Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 18 Nov 2009 05:50:21 -0500 Subject: [PATCH] Guarded some debug code --- src/times.cc | 2 ++ 1 file changed, 2 insertions(+) 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) 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) {