From 928fe50958f980d3ff92f54abe07dd97d53e2279 Mon Sep 17 00:00:00 2001 From: Michael Budde Date: Sun, 31 Mar 2019 13:24:57 +0200 Subject: Remove dead code --- src/times.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/times.cc') diff --git a/src/times.cc b/src/times.cc index 74773755..b9c67078 100644 --- a/src/times.cc +++ b/src/times.cc @@ -114,7 +114,6 @@ namespace { shared_ptr input_datetime_io; shared_ptr timelog_datetime_io; - shared_ptr input_date_io; shared_ptr written_datetime_io; shared_ptr written_date_io; shared_ptr printed_datetime_io; @@ -174,13 +173,6 @@ namespace { date_t parse_date_mask(const char * date_str, date_traits_t * traits = NULL) { - if (input_date_io.get()) { - date_t when = parse_date_mask_routine(date_str, *input_date_io.get(), - traits); - if (! when.is_not_a_date()) - return when; - } - foreach (shared_ptr& reader, readers) { date_t when = parse_date_mask_routine(date_str, *reader.get(), traits); if (! when.is_not_a_date()) @@ -1745,7 +1737,6 @@ void times_shutdown() if (is_initialized) { input_datetime_io.reset(); timelog_datetime_io.reset(); - input_date_io.reset(); written_datetime_io.reset(); written_date_io.reset(); printed_datetime_io.reset(); -- cgit v1.2.3