summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-12-26 12:50:52 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-12-26 12:50:52 -0800
commitd34e789c03a2893eae70b5528c7f2c6ccb6a1ee0 (patch)
treedf8bfb9796fd4d323701f61d5426497f45b451af /qt-models
parentc1ef59c540c69b136808e98a334302464e5ba162 (diff)
downloadsubsurface-d34e789c03a2893eae70b5528c7f2c6ccb6a1ee0.tar.gz
Remove unused variable
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/divetripmodel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp
index 060fea721..d384b1913 100644
--- a/qt-models/divetripmodel.cpp
+++ b/qt-models/divetripmodel.cpp
@@ -81,7 +81,6 @@ QVariant TripItem::data(int column, int role) const
QVariant DiveItem::data(int column, int role) const
{
QVariant retVal;
- int iconIndex;
QString icon_names[4] = {":zero",":duringPhoto", ":outsidePhoto", ":inAndOutPhoto" };
struct dive *dive = get_dive_by_uniq_id(diveId);
if (!dive)