Commit b20ebe24 authored by Thiago Macieira's avatar Thiago Macieira Committed by Alex Blasche
Browse files

Remove unused function convertAddress


Found by Clang:
 qbluetoothservicediscoveryagent_bluez.cpp:61:20: warning: unused function 'convertAddress' [-Wunused-function]

Change-Id: I27b55fdf514247549455fffd14b1793f89f60f92
Reviewed-by: default avatarAlex Blasche <alexander.blasche@qt.io>
Showing with 0 additions and 10 deletions
...@@ -58,16 +58,6 @@ QT_BEGIN_NAMESPACE ...@@ -58,16 +58,6 @@ QT_BEGIN_NAMESPACE
Q_DECLARE_LOGGING_CATEGORY(QT_BT_BLUEZ) Q_DECLARE_LOGGING_CATEGORY(QT_BT_BLUEZ)
static inline void convertAddress(quint64 from, quint8 (&to)[6])
{
to[0] = (from >> 0) & 0xff;
to[1] = (from >> 8) & 0xff;
to[2] = (from >> 16) & 0xff;
to[3] = (from >> 24) & 0xff;
to[4] = (from >> 32) & 0xff;
to[5] = (from >> 40) & 0xff;
}
QBluetoothServiceDiscoveryAgentPrivate::QBluetoothServiceDiscoveryAgentPrivate( QBluetoothServiceDiscoveryAgentPrivate::QBluetoothServiceDiscoveryAgentPrivate(
QBluetoothServiceDiscoveryAgent *qp, const QBluetoothAddress &deviceAdapter) QBluetoothServiceDiscoveryAgent *qp, const QBluetoothAddress &deviceAdapter)
: error(QBluetoothServiceDiscoveryAgent::NoError), m_deviceAdapterAddress(deviceAdapter), state(Inactive), deviceDiscoveryAgent(0), : error(QBluetoothServiceDiscoveryAgent::NoError), m_deviceAdapterAddress(deviceAdapter), state(Inactive), deviceDiscoveryAgent(0),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment