summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-17 14:36:37 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-17 14:36:37 -0800
commit962abba1f7f09f5d5b87e952e442589c0fced64b (patch)
treec32daab336197262c7f854b2795fb7a1464af571 /qt-ui/maintab.cpp
parent0e9cd0944284fede48ddc032af94a89349508e5f (diff)
downloadsubsurface-962abba1f7f09f5d5b87e952e442589c0fced64b.tar.gz
Remove ununsed variables
The warnings are distracting - and the variables are truly obsolete by now. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 7c5e7ade6..16350f709 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -509,7 +509,6 @@ void MainTab::acceptChanges()
// now make sure the selection logic is in a sane state
// it's ok to hold on to the dive pointer for this short stretch of code
// unselectDives() doesn't mess with the dive_table at all
- struct dive *addedDive = current_dive;
mainWindow()->dive_list()->unselectDives();
mainWindow()->dive_list()->selectDive(selected_dive, true, true);
mainWindow()->showProfile();