diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-27 12:13:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-27 12:13:27 -0700 |
commit | 259b73335f3ba0597eb2bb21d948d33fcd61bbbe (patch) | |
tree | f25793307da96d43fe88a6fe9934a7f941099e46 /qt-ui | |
parent | a8a9deb262dfe9af158e0faefabc4166d310d1b9 (diff) | |
download | subsurface-259b73335f3ba0597eb2bb21d948d33fcd61bbbe.tar.gz |
Remove unused variable
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/diveplanner.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 3f144db97..d2d2e2a8d 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -306,8 +306,6 @@ void DivePlannerPointsModel::addCylinder_clicked() void DivePlannerWidget::atmPressureChanged(const int pressure) { - const char *depthunit; - plannerModel->setSurfacePressure(pressure); ui.atmHeight->blockSignals(true); ui.atmHeight->setValue((int) get_depth_units((int)(log(1013.0 / pressure) * 7800000), NULL,NULL)); |