From 3b30009d7a6e5fe91af6109e72e4bfa04f577eef Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sun, 12 Oct 2014 18:12:35 +0200 Subject: Remove unused variables Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/profile/diveprofileitem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp index ef75f2fad..10fb626b6 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -352,7 +352,7 @@ DivePercentageItem::DivePercentageItem(int i) void DivePercentageItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) { - int last = -300, last_printed_hr = 0, sec = 0; + int sec = 0; // We don't have enougth data to calculate things, quit. if (!shouldCalculateStuff(topLeft, bottomRight)) @@ -401,7 +401,7 @@ DiveAmbPressureItem::DiveAmbPressureItem() void DiveAmbPressureItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) { - int last = -300, last_printed_hr = 0, sec = 0; + int sec = 0; // We don't have enougth data to calculate things, quit. if (!shouldCalculateStuff(topLeft, bottomRight)) @@ -450,7 +450,7 @@ DiveGFLineItem::DiveGFLineItem() void DiveGFLineItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) { - int last = -300, last_printed_hr = 0, sec = 0; + int sec = 0; // We don't have enougth data to calculate things, quit. if (!shouldCalculateStuff(topLeft, bottomRight)) -- cgit v1.2.3-70-g09d2