From f0e9d268c2eafb5ca8897a63f6288097fc280288 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 24 Nov 2016 13:06:53 +0100 Subject: Avoid compile warning in tst_qftp setSession is only used if we have bearer management. Change-Id: I64b9d29c01566e79bbca5d0dc11d6aee6d9b0bf0 Reviewed-by: Oswald Buddenhagen --- tests/auto/network/access/qftp/tst_qftp.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto') diff --git a/tests/auto/network/access/qftp/tst_qftp.cpp b/tests/auto/network/access/qftp/tst_qftp.cpp index 4bc43f068c..e00459557a 100644 --- a/tests/auto/network/access/qftp/tst_qftp.cpp +++ b/tests/auto/network/access/qftp/tst_qftp.cpp @@ -248,6 +248,8 @@ void tst_QFtp::init() } else { networkSessionExplicit.clear(); } +#else + Q_UNUSED(setSession); #endif delete ftp; -- cgit v1.2.3