[vlc-commits] sout_display: remove unused variable

Rémi Denis-Courmont git at videolan.org
Thu Sep 20 05:57:00 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 20 06:52:37 2018 +0300| [4fcddf77807d23b7c4723cc1aa68620027aa6f46] | committer: Rémi Denis-Courmont

sout_display: remove unused variable

...that was never ever used.
Figures how it got there in the first place.

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

 modules/stream_out/display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/display.c b/modules/stream_out/display.c
index 59e8d5f0a1..2d46cfb601 100644
--- a/modules/stream_out/display.c
+++ b/modules/stream_out/display.c
@@ -197,12 +197,12 @@ static int Send( sout_stream_t *p_stream, void *id, block_t *p_buffer )
 
 static int Control( sout_stream_t *p_stream, int i_query, va_list args )
 {
-    sout_stream_sys_t *p_sys = p_stream->p_sys;
     if( i_query == SOUT_STREAM_ID_SPU_HIGHLIGHT )
     {
         decoder_t *p_dec = va_arg(args, void *);
         void *spu_hl = va_arg(args, void *);
         return input_DecoderSetSpuHighlight( p_dec, spu_hl );
     }
+    (void) p_stream;
     return VLC_EGENERIC;
 }



More information about the vlc-commits mailing list