diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-10-12 18:12:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-12 12:34:40 -0400 |
commit | 3b30009d7a6e5fe91af6109e72e4bfa04f577eef (patch) | |
tree | 06518f43f3ed36e42c82763eb7e414ffa03999b7 /qt-ui/profile | |
parent | 9c0e2fc823bd75ca4c01ee4cb66b5153b7cead4f (diff) | |
download | subsurface-3b30009d7a6e5fe91af6109e72e4bfa04f577eef.tar.gz |
Remove unused variables
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r-- | qt-ui/profile/diveprofileitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)) |