remove unused variables

This commit is contained in:
Albert Astals Cid 2020-01-24 10:46:27 +01:00
parent d298a11af7
commit f9fc3f356f
4 changed files with 1 additions and 4 deletions

View File

@ -197,7 +197,7 @@ private Q_SLOTS:
void ssl_readyRead()
{
QByteArray a = ssl->read();
ssl->read();
QByteArray b =
"<html>\n"
"<head><title>Test</title></head>\n"

View File

@ -605,7 +605,6 @@ void GpgAction::submitCommand(const QByteArray &a)
// since str is taken as a value, it is ok to use the same variable for 'rest'
QString GpgAction::nextArg(QString str, QString *rest)
{
QString out;
int n = str.indexOf(' ');
if(n == -1)
{

View File

@ -6696,7 +6696,6 @@ public:
BIO_free(bi);
sk_X509_pop_free(other_certs, X509_free);
QString env;
if(p7)
{
// FIXME: format

View File

@ -1794,7 +1794,6 @@ pkcs11KeyStoreListContext::entryList (int id) {
pkcs11h_certificate_id_list_t current = NULL;
QList<Certificate> listCerts;
QList<Certificate> listIssuers;
QList<pkcs11h_certificate_id_list_t> listIds;
int i = 0;
if (