summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bluetooth/qbluetoothsocket_bluez.cpp1
-rw-r--r--src/bluetooth/qbluetoothsocket_bluezdbus.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/bluetooth/qbluetoothsocket_bluez.cpp b/src/bluetooth/qbluetoothsocket_bluez.cpp
index 7588c705..7e45f299 100644
--- a/src/bluetooth/qbluetoothsocket_bluez.cpp
+++ b/src/bluetooth/qbluetoothsocket_bluez.cpp
@@ -456,7 +456,6 @@ QString QBluetoothSocketPrivateBluez::peerName() const
}
const QString peerAddress = QBluetoothAddress(bdaddr).toString();
- const QString localAdapter = localAddress().toString();
initializeBluez5();
OrgFreedesktopDBusObjectManagerInterface manager(
diff --git a/src/bluetooth/qbluetoothsocket_bluezdbus.cpp b/src/bluetooth/qbluetoothsocket_bluezdbus.cpp
index f094c62b..64132961 100644
--- a/src/bluetooth/qbluetoothsocket_bluezdbus.cpp
+++ b/src/bluetooth/qbluetoothsocket_bluezdbus.cpp
@@ -84,8 +84,6 @@ static QString findRemoteDevicePath(const QBluetoothAddress &address)
if (reply.isError())
return QString();
- QString remoteDevicePath;
-
ManagedObjectList objectList = reply.value();
for (ManagedObjectList::const_iterator it = objectList.constBegin();
it != objectList.constEnd(); ++it) {