From 3042267a93831a510d805e238a9442f46c36f299 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 18 May 2012 17:10:56 +0200 Subject: Fixed unused function warning in qsslkey test. Change-Id: I5039e011f3c9b44ed1887424f11e4e146c3eb07f Reviewed-by: Martin Petersson Reviewed-by: Richard J. Moore Reviewed-by: Shane Kearns --- tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/network/ssl') 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()) -- cgit v1.2.3