diff --git a/src/runtime/kwalletd/backend/backendpersisthandler.cpp b/src/runtime/kwalletd/backend/backendpersisthandler.cpp --- a/src/runtime/kwalletd/backend/backendpersisthandler.cpp +++ b/src/runtime/kwalletd/backend/backendpersisthandler.cpp @@ -652,7 +652,6 @@ qCDebug(KWALLETBACKEND_LOG) << "This wallet was encrypted using GPG key with ID " << keyID; ctx->setKeyListMode(GPGME_KEYLIST_MODE_LOCAL); - std::vector< GpgME::Key > keys; err = ctx->startKeyListing(); while (!err) { GpgME::Key k = ctx->nextKey(err);