From c9dbb424f294ce55ce7b431155e07ead950227a3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 5 Dec 2015 06:29:06 -0800 Subject: QML-UI: delete unused code Signed-off-by: Dirk Hohndel --- qt-mobile/qmlprofile.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qt-mobile/qmlprofile.cpp b/qt-mobile/qmlprofile.cpp index 1ad84e735..67eb1328a 100644 --- a/qt-mobile/qmlprofile.cpp +++ b/qt-mobile/qmlprofile.cpp @@ -30,13 +30,9 @@ QString QMLProfile::diveId() const void QMLProfile::setDiveId(const QString &diveId) { m_diveId = diveId; - int no = -1; struct dive *d = get_dive_by_uniq_id(m_diveId.toInt()); - if (d) - no = d->number; if (m_diveId.toInt() < 1) return; - if (!d) return; -- cgit v1.2.3-70-g09d2