Remove some unused variables

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2013-12-09 22:37:50 +01:00 committed by Dirk Hohndel
parent a3f3e85246
commit 26a1904cf8
4 changed files with 0 additions and 7 deletions

View file

@ -150,8 +150,6 @@ private:
double min; double min;
double max; double max;
double interval; double interval;
double posBegin;
double posEnd;
double tickSize; double tickSize;
QColor textColor; QColor textColor;
}; };

View file

@ -492,8 +492,6 @@ void ProfileGraphicsView::plot_depth_scale()
case units::FEET: marker = 9144; break; /* 30 ft */ case units::FEET: marker = 9144; break; /* 30 ft */
} }
QColor c(getColor(DEPTH_GRID));
/* don't write depth labels all the way to the bottom as /* don't write depth labels all the way to the bottom as
* there may be other graphs below the depth plot (like * there may be other graphs below the depth plot (like
* partial pressure graphs) where this would look out * partial pressure graphs) where this would look out

View file

@ -104,7 +104,6 @@ public:
struct event* ev; struct event* ev;
private: private:
ToolTipItem *controller;
QString text; QString text;
bool isGrayscale; bool isGrayscale;

View file

@ -111,7 +111,6 @@ static char *prepare_dives_for_divelogs(const bool selected)
xmlDoc *transformed; xmlDoc *transformed;
struct zip_source *s[dive_table.nr]; struct zip_source *s[dive_table.nr];
struct zip *zip; struct zip *zip;
char *error = NULL;
const QString errPrefix("divelog.de-upload:"); const QString errPrefix("divelog.de-upload:");
/* generate a random filename and create/open that file with zip_open */ /* generate a random filename and create/open that file with zip_open */
@ -755,7 +754,6 @@ void DivelogsDeWebServices::downloadFinished()
// now allow the user to cancel or accept // now allow the user to cancel or accept
ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(true); ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(true);
close_zip:
zip_close(zip); zip_close(zip);
zipFile.close(); zipFile.close();
} }