summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-06-24 16:27:43 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-06-26 06:49:38 +0000
commit3de7a966f12037d5b6e8955297b87fb073196c3f (patch)
tree241d42fd5921eb8a464318e845e11c3b95d3d15e
parente2d3436e4dfdf461a0864aca722ef9cc97d3564b (diff)
Fix warning with MSVC 2013
warning C4100: 'name' : unreferenced formal parameter This is despite the new Q_ASSERT "using" its expression even in release mode. Change-Id: Ieebfc4ab72a6493eaa68ffff13ead0574dd78627 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r--src/dbus/qdbusabstractinterface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus/qdbusabstractinterface.cpp b/src/dbus/qdbusabstractinterface.cpp
index 03640cdd21..a7c70bce70 100644
--- a/src/dbus/qdbusabstractinterface.cpp
+++ b/src/dbus/qdbusabstractinterface.cpp
@@ -216,6 +216,7 @@ void QDBusAbstractInterfacePrivate::_q_serviceOwnerChanged(const QString &name,
const QString &newOwner)
{
Q_UNUSED(oldOwner);
+ Q_UNUSED(name);
//qDebug() << "QDBusAbstractInterfacePrivate serviceOwnerChanged" << name << oldOwner << newOwner;
if (name == service) {
currentOwner = newOwner;