[PATCH] diveprofileitem.cpp: fix unused variable warning on mobile
Lubomir I. Ivanov
neolit123 at gmail.com
Sun Dec 6 11:59:03 PST 2015
From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
profile-widget/diveprofileitem.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp
index 5f2849f..b7729bd 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;
--
1.7.11.msysgit.0
More information about the subsurface
mailing list