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>
This commit is contained in:
Lubomir I. Ivanov 2015-12-06 21:59:03 +02:00 committed by Dirk Hohndel
parent 2aed907525
commit 491ef7edc8

View file

@ -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;