diff options
author | axis <qt-info@nokia.com> | 2009-07-06 07:18:54 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-07-06 07:43:14 (GMT) |
commit | 6725d82984107997fd865b2158b7f51931653a71 (patch) | |
tree | 9d9a34cc8117d613c978ede190050feda98ff94e | |
parent | 985f3464248330ccbc908c5d5ae8d3efb012035f (diff) | |
download | Qt-6725d82984107997fd865b2158b7f51931653a71.zip Qt-6725d82984107997fd865b2158b7f51931653a71.tar.gz Qt-6725d82984107997fd865b2158b7f51931653a71.tar.bz2 |
Proper Q_UNUSED() macro for RVCT.
-rw-r--r-- | src/corelib/global/qglobal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 819bdf7..31d5e8d 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1500,7 +1500,7 @@ inline QT3_SUPPORT int qWinVersion() { return QSysInfo::WindowsVersion; } Avoid "unused parameter" warnings */ -#if defined(Q_CC_INTEL) && !defined(Q_OS_WIN) +#if defined(Q_CC_INTEL) && !defined(Q_OS_WIN) || defined(Q_CC_RVCT) template <typename T> inline void qUnused(T &x) { (void)x; } # define Q_UNUSED(x) qUnused(x); |