[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [gluon] smarts/common: Eliminate the unused variable warning by
From: Laszlo Papp <ext-laszlo.papp () nokia ! com>
Date: 2011-11-01 3:15:08
Message-ID: 20111101031508.D0958A60CE () git ! kde ! org
[Download RAW message or body]
Git commit 1f3ad973c953db76ae02eff7a2ff149ff353ba8b by Laszlo Papp.
Committed on 31/10/2011 at 21:55.
Pushed by lpapp into branch 'master'.
Eliminate the unused variable warning by using the Q_UNUSED macro
M +2 -0 smarts/common/btnodetype.cpp
http://commits.kde.org/gluon/1f3ad973c953db76ae02eff7a2ff149ff353ba8b
diff --git a/smarts/common/btnodetype.cpp b/smarts/common/btnodetype.cpp
index a8ca5fc..8143845 100644
--- a/smarts/common/btnodetype.cpp
+++ b/smarts/common/btnodetype.cpp
@@ -24,6 +24,7 @@
btNodeType::btNodeType(QObject * parent)
{
+ Q_UNUSED(parent)
m_parent = NULL;
}
@@ -58,6 +59,7 @@ btNodeType::nodeType btNodeType::type() const
bool btNodeType::run(btCharacter *self)
{
+ Q_UNUSED(self)
return false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic