core: Change Q_UNUSED to no parameter name

C++ permits use of parameters without name, which signals unused

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-21 17:36:04 +02:00 committed by Dirk Hohndel
parent 034f9a6ca2
commit a312e53f0c
7 changed files with 13 additions and 33 deletions

View file

@ -64,10 +64,9 @@ static dc_descriptor_t *getDeviceType(QString btName)
return NULL;
}
BTDiscovery::BTDiscovery(QObject *parent) : m_btValid(false),
BTDiscovery::BTDiscovery(QObject*) : m_btValid(false),
discoveryAgent(NULL)
{
Q_UNUSED(parent)
if (m_instance) {
qDebug() << "trying to create an additional BTDiscovery object";
return;