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 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, "{");