[vlc-commits] oggseek: mute warning

Rémi Denis-Courmont git at videolan.org
Sun Mar 3 10:25:06 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  3 10:05:28 2019 +0200| [f60cb37844bb1082ed3823946a6f453b38465128] | committer: Rémi Denis-Courmont

oggseek: mute warning

Variable is only used if debug is compiled-in.

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

 modules/demux/oggseek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/oggseek.c b/modules/demux/oggseek.c
index ae3d67f97d..7fca91bccb 100644
--- a/modules/demux/oggseek.c
+++ b/modules/demux/oggseek.c
@@ -864,6 +864,7 @@ int Oggseek_BlindSeektoPosition( demux_t *p_demux, logical_stream_t *p_stream,
     }
 
     OggDebug( msg_Dbg( p_demux, "=================== Seeked To %"PRId64" granule %"PRId64, i_pagepos, i_granule ) );
+    (void) i_pagepos;
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list