summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-01 15:41:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-01 15:41:12 -0700
commit59785345f808f0c53c085be896f60e10455cc52f (patch)
treec3a817a020257f52421169363adff6af9aeff2d3
parentfe773241eea51036b25815302fc676eafbcac85a (diff)
downloadsubsurface-59785345f808f0c53c085be896f60e10455cc52f.tar.gz
Remove some unused variables
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/tagwidget.cpp1
-rw-r--r--save-html.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/tagwidget.cpp b/qt-ui/tagwidget.cpp
index fe4044a85..d1bb0d711 100644
--- a/qt-ui/tagwidget.cpp
+++ b/qt-ui/tagwidget.cpp
@@ -68,7 +68,6 @@ QPair<int, int> TagWidget::getCursorTagPosition()
void TagWidget::highlight()
{
- int i = 0, start = 0, end = 0;
removeAllBlocks();
int lastPos = 0;
Q_FOREACH (const QString& s, text().split(QChar(','), QString::SkipEmptyParts)) {
diff --git a/save-html.c b/save-html.c
index 609ab9e84..4f378498f 100644
--- a/save-html.c
+++ b/save-html.c
@@ -168,7 +168,6 @@ void write_no_trip(struct membuffer *b, int *dive_no)
void write_trip(struct membuffer *b, dive_trip_t *trip, int *dive_no)
{
- int i;
struct dive *dive;
put_format(b, "{");