From 9762b72b7dc2988b72971496b13bf74a1b2a9413 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 9 Jul 2016 12:36:54 -0700 Subject: Remove two unused variables Signed-off-by: Dirk Hohndel --- qt-models/diveplannermodel.cpp | 2 -- 1 file changed, 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()]; -- cgit v1.2.3-70-g09d2