From 957e8ab4be1d3c0fadb5af5e91e2d5b1f4fb7ab5 Mon Sep 17 00:00:00 2001
From: Albert Astals Cid <aacid@kde.org>
Date: Sat, 15 Feb 2020 10:15:08 +0100
Subject: [PATCH] test: Remove unused variable

---
 unittest/pgpunittest/pgpunittest.cpp | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/unittest/pgpunittest/pgpunittest.cpp b/unittest/pgpunittest/pgpunittest.cpp
index 963aba61..1e25f4f0 100644
--- a/unittest/pgpunittest/pgpunittest.cpp
+++ b/unittest/pgpunittest/pgpunittest.cpp
@@ -126,18 +126,10 @@ private Q_SLOTS:
     void testDetachedSign();
     void testSignaturesWithExpiredSubkeys();
     void testEncryptionWithExpiredSubkeys();
-private:
-    QCA::Initializer* m_init;
 };
 
 void PgpUnitTest::initTestCase()
 {
-    // instead of initializing qca once, we will initialize it for every
-    //   test case.  this is the only way to get the keystore subsystem
-    //   to reload, which we need to do if we want qca-gnupg to respect
-    //   changes to $GNUPGHOME.
-    //m_init = new QCA::Initializer;
-
     // Change current directory to executable directory
     // it is need to find keys*_work directories
     if (!QCoreApplication::applicationDirPath().isEmpty())
@@ -146,7 +138,6 @@ void PgpUnitTest::initTestCase()
 
 void PgpUnitTest::cleanupTestCase()
 {
-    //delete m_init;
 }
 
 void PgpUnitTest::testKeyRing()