diff --git a/modules/gui/qt/tests/vlc_stub_modules.cpp b/modules/gui/qt/tests/vlc_stub_modules.cpp
index 920338018e4f2f1564cd12e3834509b3a79d9409..3bca0a5d6cbf4a383b45b10feb9f55468383b38b 100644
--- a/modules/gui/qt/tests/vlc_stub_modules.cpp
+++ b/modules/gui/qt/tests/vlc_stub_modules.cpp
@@ -114,18 +114,18 @@ static void CloseIntf( vlc_object_t *p_this )
 
 //Medialib module
 
-static void* MLGet( vlc_medialibrary_module_t* module, int query, va_list args )
+static void* MLGet( vlc_medialibrary_module_t*, int, va_list )
 {
     return nullptr;
 }
 
-static int MLList( vlc_medialibrary_module_t* module, int query,
-                const vlc_ml_query_params_t* params, va_list args )
+static int MLList( vlc_medialibrary_module_t*, int,
+                const vlc_ml_query_params_t*, va_list )
 {
     return VLC_EGENERIC;
 }
 
-static int MLControl( vlc_medialibrary_module_t* module, int query, va_list args )
+static int MLControl( vlc_medialibrary_module_t*, int, va_list )
 {
     return VLC_EGENERIC;
 }