aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-10 10:06:39 +0000
committerAndre Heinecke <[email protected]>2016-08-10 10:07:56 +0000
commitd467018ce36f5be36751267c3b6079e8c1ee5d8a (patch)
tree069664d6da7da82f3bdef4e7c73cc47c9d28b27a
parentQt: Create TestPassphraseProvider on stack (diff)
downloadgpgme-d467018ce36f5be36751267c3b6079e8c1ee5d8a.tar.gz
gpgme-d467018ce36f5be36751267c3b6079e8c1ee5d8a.zip
Qt: Remove unused variable
* lang/qt/src/qgpgmerefreshkeysjob.cpp (slotStatus): Remove unused variable typ.
-rw-r--r--lang/qt/src/qgpgmerefreshkeysjob.cpp2
1 files changed, 1 insertions, 1 deletions
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;