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

Filip Roséen filip at atch.se
Thu May 18 12:19:42 CEST 2017


Following the changes introduced by c0d5d15 and 6657a82, the argument
named "args" is unused in the relevant function. These changes silence
the related diagnostic.
---
 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;
-- 
2.12.2


More information about the vlc-devel mailing list