qt: Remove unused variable in test

* t-wkspublish.cpp (testWKSPublishCreate): Remove context.
This commit is contained in:
Andre Heinecke 2016-08-25 15:00:46 +02:00
parent df04b232b8
commit f08904b810

View File

@ -39,7 +39,6 @@
#include "importresult.h" #include "importresult.h"
#include "protocol.h" #include "protocol.h"
#include "engineinfo.h" #include "engineinfo.h"
#include "context.h"
#include "t-support.h" #include "t-support.h"
@ -177,7 +176,6 @@ private:
/* Not supported */ /* Not supported */
return; return;
} }
auto ctx = Context::createForProtocol(OpenPGP);
/* First generate a test key */ /* First generate a test key */
const QString args = QStringLiteral("<GnupgKeyParms format=\"internal\">\n" const QString args = QStringLiteral("<GnupgKeyParms format=\"internal\">\n"
"%no-protection\n" "%no-protection\n"