diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-12-06 21:59:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-06 12:28:01 -0800 |
commit | 491ef7edc80ca2af4684cd011f93d453ff15a2af (patch) | |
tree | 36d83c0d0e1184eb29ac861e7ee128254999e3d5 | |
parent | 2aed9075254470fbd4ea8a1bdff228300b86fc27 (diff) | |
download | subsurface-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.cpp | 1 |
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; |