diff options
author | Mitch Curtis <mitch.curtis@nokia.com> | 2012-05-18 17:10:56 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-21 16:02:06 +0200 |
commit | 3042267a93831a510d805e238a9442f46c36f299 (patch) | |
tree | 407cc57dc2adbab41eac5576a6668c34a0c4c4ed /tests/auto | |
parent | 41b18267a132bce565c8943adbe6c43b5c22a9fd (diff) |
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>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp b/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp index ed3deb49ec..df34fc4af6 100644 --- a/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp +++ b/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp @@ -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()) |