From 491ef7edc80ca2af4684cd011f93d453ff15a2af Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sun, 6 Dec 2015 21:59:03 +0200 Subject: [PATCH] diveprofileitem.cpp: fix unused variable warning on mobile Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- profile-widget/diveprofileitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index 5f2849fb4..b7729bda1 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -155,6 +155,7 @@ int DiveProfileItem::maxCeiling(int row) void DiveProfileItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) { bool eventAdded = false; + (void)eventAdded; if (!shouldCalculateStuff(topLeft, bottomRight)) return;