diff --git a/src/common/datetimefmt.cpp b/src/common/datetimefmt.cpp index 19114a43c7..6f9f0ba68d 100644 --- a/src/common/datetimefmt.cpp +++ b/src/common/datetimefmt.cpp @@ -1525,8 +1525,6 @@ wxDateTime::ParseFormat(const wxString& date, // try to parse what follows as "%H:%M:%S" and, if this // fails, as "%I:%M:%S %p" - this should catch the most // common cases - wxDateTime dt; - const wxDateTime dt = ParseFormatAt(input, date.end(), "%T", "%r"); if ( !dt.IsValid() )