Fixed unused function warning in qsslkey test.
Change-Id: I5039e011f3c9b44ed1887424f11e4e146c3eb07f Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com> Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
41b18267a1
commit
3042267a93
@ -113,6 +113,8 @@ void tst_QSslKey::initTestCase()
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef QT_NO_SSL
|
||||
|
||||
static QByteArray readFile(const QString &absFilePath)
|
||||
{
|
||||
QFile file(absFilePath);
|
||||
@ -123,8 +125,6 @@ static QByteArray readFile(const QString &absFilePath)
|
||||
return file.readAll();
|
||||
}
|
||||
|
||||
#ifndef QT_NO_SSL
|
||||
|
||||
void tst_QSslKey::emptyConstructor()
|
||||
{
|
||||
if (!QSslSocket::supportsSsl())
|
||||
|
Loading…
Reference in New Issue
Block a user