summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-16 10:44:23 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-16 10:44:23 -0800
commite0f8ec7144f2a952f003b8ad19aaa26d58537f4e (patch)
tree8da6b9c3da30a58e74fdb1dccdd556cb3ae72912 /qt-ui/profile/diveprofileitem.cpp
parentf3c84ccf75a4955d0927f9d86a9c26a840f83add (diff)
downloadsubsurface-e0f8ec7144f2a952f003b8ad19aaa26d58537f4e.tar.gz
Clean up some warnings
Unused variables, more initialization order complaints. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.cpp')
-rw-r--r--qt-ui/profile/diveprofileitem.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp
index 58dfa4933..20ad3992b 100644
--- a/qt-ui/profile/diveprofileitem.cpp
+++ b/qt-ui/profile/diveprofileitem.cpp
@@ -275,7 +275,6 @@ void DiveTemperatureItem::createTextItem(int sec, int mkelvin)
{
double deg;
const char *unit;
- static text_render_options_t tro = {TEMP_TEXT_SIZE, TEMP_TEXT};
deg = get_temp_units(mkelvin, &unit);
DiveTextItem *text = new DiveTextItem(this);
@@ -301,8 +300,6 @@ void DiveGasPressureItem::modelDataChanged(const QModelIndex& topLeft, const QMo
if (!shouldCalculateStuff(topLeft, bottomRight))
return;
int last_index = -1;
- int lift_pen = false;
- int first_plot = true;
QPolygonF boundingPoly; // This is the "Whole Item", but a pressure can be divided in N Polygons.
polygons.clear();