[vlc-commits] input/stream_extractor: se_DirControl: silence unused argument diagnostic

Filip Roséen git at videolan.org
Thu May 18 18:09:39 CEST 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu May 18 12:19:42 2017 +0200| [56cc22744530f5aac47f8a9c051c7660b67fb89e] | committer: Rémi Denis-Courmont

input/stream_extractor: se_DirControl: silence unused argument diagnostic

Following the changes introduced by c0d5d15 and 6657a82, the argument
named "args" is unused in the relevant function. These changes silence
the related diagnostic.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 src/input/stream_extractor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/stream_extractor.c b/src/input/stream_extractor.c
index 29369dd2cc..05ffa4668e 100644
--- a/src/input/stream_extractor.c
+++ b/src/input/stream_extractor.c
@@ -182,6 +182,7 @@ static int
 se_DirControl( stream_t* stream, int req, va_list args )
 {
     (void)stream;
+    (void)args;
 
     if( req == STREAM_IS_DIRECTORY )
         return VLC_SUCCESS;



More information about the vlc-commits mailing list