[vlc-commits] Access: kill unused argument warnings

Jean-Baptiste Kempf git at videolan.org
Sun May 24 19:32:34 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 16:47:27 2015 +0200| [d6a357e18ffe7914b61f641b568c0a4b6daa02fc] | committer: Jean-Baptiste Kempf

Access: kill unused argument warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6a357e18ffe7914b61f641b568c0a4b6daa02fc
---

 modules/access/bluray.c    |    1 +
 modules/access/directory.c |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 238cf6b..cd6506a 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -268,6 +268,7 @@ static void FindMountPoint(char **file)
     }
 #else
 # warning Disc device to mount point not implemented
+    VLC_UNUSED( device );
 #endif
 }
 
diff --git a/modules/access/directory.c b/modules/access/directory.c
index 425ec40..87b5b33 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -138,6 +138,8 @@ static bool is_looping(access_t *p_access, const char *psz_uri)
     }
     return b_looping;
 #else
+    VLC_UNUSED(p_access);
+    VLC_UNUSED(psz_uri);
     return false;
 #endif
 }



More information about the vlc-commits mailing list