Qt: Remove unused variable
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 10 Aug 2016 10:06:39 +0000 (12:06 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 10 Aug 2016 10:07:56 +0000 (12:07 +0200)
* lang/qt/src/qgpgmerefreshkeysjob.cpp (slotStatus): Remove
unused variable typ.

lang/qt/src/qgpgmerefreshkeysjob.cpp

index 53a9d2c..3d221f6 100644 (file)
@@ -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;