From 59785345f808f0c53c085be896f60e10455cc52f Mon Sep 17 00:00:00 2001
From: Dirk Hohndel <dirk@hohndel.org>
Date: Sun, 1 Jun 2014 15:41:12 -0700
Subject: [PATCH] Remove some unused variables

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
---
 qt-ui/tagwidget.cpp | 1 -
 save-html.c         | 1 -
 2 files changed, 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, "{");