From 083af3c31948d47c066f2786c9f7dd2faf82d290 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 18 May 2012 17:02:54 +0200 Subject: [PATCH] Fixed unused function warning in qsslcertificate test. Change-Id: I4d402e486a8ceb965d008056f5f1bcb227f6f40c Reviewed-by: Martin Petersson --- .../auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp | 4 ++-- 1 file 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())