summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-12-06 21:59:03 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-06 12:28:01 -0800
commit491ef7edc80ca2af4684cd011f93d453ff15a2af (patch)
tree36d83c0d0e1184eb29ac861e7ee128254999e3d5
parent2aed9075254470fbd4ea8a1bdff228300b86fc27 (diff)
downloadsubsurface-491ef7edc80ca2af4684cd011f93d453ff15a2af.tar.gz
diveprofileitem.cpp: fix unused variable warning on mobile
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--profile-widget/diveprofileitem.cpp1
1 files changed, 1 insertions, 0 deletions
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;