From 150abce0dbd11863e4a8309fd306a4c2667501f8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 19 Jul 2008 21:02:58 -0400 Subject: Commented out code that's not being used yet. --- times.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'times.cc') diff --git a/times.cc b/times.cc index 45bd6659..b90f71aa 100644 --- a/times.cc +++ b/times.cc @@ -51,6 +51,7 @@ int current_year(current_moment.date().year()); string input_time_format; string output_time_format = "%Y/%m/%d"; +#if 0 static const char * formats[] = { "%Y/%m/%d", "%m/%d", @@ -65,6 +66,7 @@ static const char * formats[] = { "%Y", NULL }; +#endif bool day_before_month = false; static bool day_before_month_initialized = false; @@ -136,8 +138,6 @@ datetime_t interval_t::first(const datetime_t& moment) const datetime_t interval_t::increment(const datetime_t& moment) const { - struct std::tm * desc = NULL; - #if 0 struct std::tm * desc = std::localtime(&moment.when); -- cgit v1.2.3