diff --git a/src/plugins/wmf/player/mfvideorenderercontrol.cpp b/src/plugins/wmf/player/mfvideorenderercontrol.cpp
index 6baa3716e972a3aa7b842560ce9fe8f2428a42a6..8f73244c0afe0ec70ef47af920b2e85a60f4315f 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 0978069c93cfb1d5246ed46fb00f087059dc3cfa..79354b4e1f163122937f6326182990a582e6e32c 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();
 }