From 259b73335f3ba0597eb2bb21d948d33fcd61bbbe Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 27 Jun 2014 12:13:27 -0700 Subject: Remove unused variable Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 2 -- 1 file changed, 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)); -- cgit v1.2.3-70-g09d2