Fixed unused function warning in qsslcertificate test.
Change-Id: I4d402e486a8ceb965d008056f5f1bcb227f6f40c Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
This commit is contained in:
parent
c47f220f1a
commit
083af3c319
@ -164,6 +164,8 @@ void tst_QSslCertificate::cleanupTestCase()
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef QT_NO_SSL
|
||||
|
||||
static QByteArray readFile(const QString &absFilePath)
|
||||
{
|
||||
QFile file(absFilePath);
|
||||
@ -174,8 +176,6 @@ static QByteArray readFile(const QString &absFilePath)
|
||||
return file.readAll();
|
||||
}
|
||||
|
||||
#ifndef QT_NO_SSL
|
||||
|
||||
void tst_QSslCertificate::emptyConstructor()
|
||||
{
|
||||
if (!QSslSocket::supportsSsl())
|
||||
|
Loading…
Reference in New Issue
Block a user