diff -r 5dc02b23752f -r 3e2da88830cd src/3rdparty/phonon/mmf/audiooutput.cpp --- a/src/3rdparty/phonon/mmf/audiooutput.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/src/3rdparty/phonon/mmf/audiooutput.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -78,6 +78,9 @@ { Q_ASSERT_X(index == AudioOutputDeviceID, Q_FUNC_INFO, "We only support one output device, with id 0"); +#ifdef QT_NO_DEBUG + Q_UNUSED(index) +#endif return true; }