summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-07-09 12:36:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-07-09 12:36:54 -0700
commit9762b72b7dc2988b72971496b13bf74a1b2a9413 (patch)
treeb48f02790c2978cb3b30c7bfc1ea97fe7178bba1 /qt-models
parentaa1446bed2e485757f528b11a9a73a7b7f7f4c33 (diff)
downloadsubsurface-9762b72b7dc2988b72971496b13bf74a1b2a9413.tar.gz
Remove two unused variables
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/diveplannermodel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp
index f325d2af5..16dca5224 100644
--- a/qt-models/diveplannermodel.cpp
+++ b/qt-models/diveplannermodel.cpp
@@ -69,7 +69,6 @@ void DivePlannerPointsModel::loadFromDive(dive *d)
CylindersModel::instance()->updateDive();
duration_t lasttime = {};
duration_t newtime = {};
- struct gasmix gas;
free_dps(&diveplan);
diveplan.when = d->when;
// is this a "new" dive where we marked manually entered samples?
@@ -265,7 +264,6 @@ QVariant DivePlannerPointsModel::data(const QModelIndex &index, int role) const
bool DivePlannerPointsModel::setData(const QModelIndex &index, const QVariant &value, int role)
{
- struct gasmix gas = {};
int i, shift;
if (role == Qt::EditRole) {
divedatapoint &p = divepoints[index.row()];