mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Remove two unused variables
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
aa1446bed2
commit
9762b72b7d
1 changed files with 0 additions and 2 deletions
|
@ -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()];
|
||||
|
|
Loading…
Reference in a new issue