mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove unused variables
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9c0e2fc823
commit
3b30009d7a
2 changed files with 4 additions and 7 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue