summaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r--core/qthelper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index 561dd9213..3b87a33a7 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -989,8 +989,6 @@ extern "C" char *get_current_date()
QString get_trip_date_string(timestamp_t when, int nr, bool getday)
{
- struct tm tm;
- utc_mkdate(when, &tm);
QDateTime localTime = timestampToDateTime(when);
QString suffix = " " + gettextFromC::tr("(%n dive(s))", "", nr);