summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2021-11-28 17:53:04 +0200
committerJuha Vuolle <juha.vuolle@insta.fi>2021-12-06 18:52:42 +0200
commit6e354171798de4207f8747c632b56fa9e2f1366e (patch)
tree899703986ca2cc9ef172c6f92d2d59b399168b72 /tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
parentba867f63b618fdd678fa48a8dd8f843ebc825f5e (diff)
Remove qtconnectivity compiler warnings on macOS
- blockByteToAddress is commented out since 2011 => remove - put dumpServiceInfoAttributes behind similar "#if 0" as its usage Pick-to: 6.2 Change-Id: I3d7fb2da45d52c5430c947bca279f2f806b28140 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp')
-rw-r--r--tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
index 7fa2274a..3568f940 100644
--- a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
+++ b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp
@@ -179,6 +179,7 @@ void tst_QBluetoothServiceDiscoveryAgent::serviceDiscoveryDebug(const QBluetooth
qDebug() << "\tRFCOMM server channel:" << info.serverChannel();
}
+#if 0
static void dumpAttributeVariant(const QVariant &var, const QString indent)
{
if (!var.isValid()) {
@@ -245,6 +246,7 @@ static inline void dumpServiceInfoAttributes(const QBluetoothServiceInfo &info)
dumpAttributeVariant(info.attribute(id), QString("\t"));
}
}
+#endif
void tst_QBluetoothServiceDiscoveryAgent::tst_serviceDiscovery_data()