WMF-plugin: Fix warnings about unused variables.

Change-Id: I2b7864463799b23418fc4c3099d73a63709fe8c5
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Friedemann Kleint
2013-05-24 09:15:53 +02:00
committed by The Qt Project
parent dbdd1946a0
commit 5c5d19e874
2 changed files with 3 additions and 2 deletions

View File

@@ -1286,6 +1286,7 @@ namespace
{ {
HRESULT hr = S_OK; HRESULT hr = S_OK;
Q_ASSERT(pOp != NULL); Q_ASSERT(pOp != NULL);
Q_UNUSED(pOp)
hr = processSamplesFromQueue(WriteSamples); hr = processSamplesFromQueue(WriteSamples);
// We are in the middle of an asynchronous operation, so if something failed, send an error. // We are in the middle of an asynchronous operation, so if something failed, send an error.
if (FAILED(hr)) if (FAILED(hr))

View File

@@ -105,12 +105,12 @@ QMediaServiceProviderHint::Features WMFServicePlugin::supportedFeatures(
return QMediaServiceProviderHint::Features(); return QMediaServiceProviderHint::Features();
} }
QList<QByteArray> WMFServicePlugin::devices(const QByteArray &service) const QList<QByteArray> WMFServicePlugin::devices(const QByteArray &) const
{ {
return QList<QByteArray>(); return QList<QByteArray>();
} }
QString WMFServicePlugin::deviceDescription(const QByteArray &service, const QByteArray &device) QString WMFServicePlugin::deviceDescription(const QByteArray &, const QByteArray &)
{ {
return QString(); return QString();
} }