From d467018ce36f5be36751267c3b6079e8c1ee5d8a Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 10 Aug 2016 12:06:39 +0200 Subject: [PATCH] Qt: Remove unused variable * lang/qt/src/qgpgmerefreshkeysjob.cpp (slotStatus): Remove unused variable typ. --- lang/qt/src/qgpgmerefreshkeysjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/qt/src/qgpgmerefreshkeysjob.cpp b/lang/qt/src/qgpgmerefreshkeysjob.cpp index 53a9d2c0..3d221f6e 100644 --- a/lang/qt/src/qgpgmerefreshkeysjob.cpp +++ b/lang/qt/src/qgpgmerefreshkeysjob.cpp @@ -176,7 +176,7 @@ void QGpgME::QGpgMERefreshKeysJob::slotStatus(QProcess *proc, const QString &typ } const QString what = *++it; ok = false; - const int typ = (*++it).toInt(&ok); + (*++it).toInt(&ok); if (!ok) { qCDebug(GPGPME_BACKEND_LOG) << "expected number for \"type\", got something else"; return;