diff --git a/src/private/videorenderermanager.cpp b/src/private/videorenderermanager.cpp
index 6d9ac4c9436fcfab95b5c44bb732ddceb4646699..602404cf64f4c15f00eebb867e0cfa097c654c98 100644
--- a/src/private/videorenderermanager.cpp
+++ b/src/private/videorenderermanager.cpp
@@ -189,6 +189,7 @@ void VideoRendererManager::setBufferSize(uint size)
 ///A video is not being rendered
 void VideoRendererManagerPrivate::startedDecoding(const QString& id, const QString& shmPath, int width, int height)
 {
+   Q_UNUSED(shmPath) //When directly linked, there is no SHM
    const QSize      res = QSize(width,height);
    const QByteArray rid = id.toLatin1();
 
diff --git a/src/qtwrapper/instancemanager_wrap.h b/src/qtwrapper/instancemanager_wrap.h
index a4dc60471a983f802bf880fc1ba51620e35571db..792833cb035171d93f7a74154f952e35f6c89439 100644
--- a/src/qtwrapper/instancemanager_wrap.h
+++ b/src/qtwrapper/instancemanager_wrap.h
@@ -47,10 +47,15 @@ public:
 
 public Q_SLOTS: // METHODS
    void Register(int pid, const QString &name)
-   {}
+   {
+      Q_UNUSED(pid ) //When directly linked, the PID is always the current process PID
+      Q_UNUSED(name)
+   }
 
    void Unregister(int pid)
-   {}
+   {
+      Q_UNUSED(pid) //When directly linked, the PID is always the current process PID
+   }
 
    bool isConnected();