summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-05-24 09:15:53 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-27 16:11:29 +0200
commit5c5d19e874c7e3d7b6180f18173248f617e78873 (patch)
tree7b460d70e70b20a6683e12ec3d7c1f0eac93ce2c /src
parentdbdd1946a02c49d8043ae3f47e6e16e64c07c96e (diff)
WMF-plugin: Fix warnings about unused variables.
Change-Id: I2b7864463799b23418fc4c3099d73a63709fe8c5 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/wmf/player/mfvideorenderercontrol.cpp1
-rw-r--r--src/plugins/wmf/wmfserviceplugin.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/wmf/player/mfvideorenderercontrol.cpp b/src/plugins/wmf/player/mfvideorenderercontrol.cpp
index 6baa3716e..8f73244c0 100644
--- a/src/plugins/wmf/player/mfvideorenderercontrol.cpp
+++ b/src/plugins/wmf/player/mfvideorenderercontrol.cpp
@@ -1286,6 +1286,7 @@ namespace
{
HRESULT hr = S_OK;
Q_ASSERT(pOp != NULL);
+ Q_UNUSED(pOp)
hr = processSamplesFromQueue(WriteSamples);
// We are in the middle of an asynchronous operation, so if something failed, send an error.
if (FAILED(hr))
diff --git a/src/plugins/wmf/wmfserviceplugin.cpp b/src/plugins/wmf/wmfserviceplugin.cpp
index 0978069c9..79354b4e1 100644
--- a/src/plugins/wmf/wmfserviceplugin.cpp
+++ b/src/plugins/wmf/wmfserviceplugin.cpp
@@ -105,12 +105,12 @@ QMediaServiceProviderHint::Features WMFServicePlugin::supportedFeatures(
return QMediaServiceProviderHint::Features();
}
-QList<QByteArray> WMFServicePlugin::devices(const QByteArray &service) const
+QList<QByteArray> WMFServicePlugin::devices(const QByteArray &) const
{
return QList<QByteArray>();
}
-QString WMFServicePlugin::deviceDescription(const QByteArray &service, const QByteArray &device)
+QString WMFServicePlugin::deviceDescription(const QByteArray &, const QByteArray &)
{
return QString();
}