[Pkg-gnupg-commit] [gpgme] 272/412: Qt: Remove unused variable

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:27:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit d467018ce36f5be36751267c3b6079e8c1ee5d8a
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Wed Aug 10 12:06:39 2016 +0200

    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 53a9d2c..3d221f6 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list