summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@nokia.com>2012-05-18 17:02:54 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-22 10:27:40 +0200
commit083af3c31948d47c066f2786c9f7dd2faf82d290 (patch)
tree34bb1ebca76b3715eddc1aeb51f18fa3e63a2eb4 /tests
parentc47f220f1a4939faaee462a7549dc17026a5a319 (diff)
Fixed unused function warning in qsslcertificate test.
Change-Id: I4d402e486a8ceb965d008056f5f1bcb227f6f40c Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp b/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp
index 7e7c2daee5..b4cee47895 100644
--- a/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp
+++ b/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp
@@ -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())