[FFmpeg-cvslog] avformat/hcom: Tell the compiler about set but not read variables

Michael Niedermayer git at videolan.org
Mon Sep 16 02:00:19 EEST 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Aug 28 19:07:23 2019 +0200| [24e52709112e3cf625cf00d3a4c3ae7d0c323d3c] | committer: Michael Niedermayer

avformat/hcom: Tell the compiler about set but not read variables

This avoids 3 warnings

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24e52709112e3cf625cf00d3a4c3ae7d0c323d3c
---

 libavformat/hcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hcom.c b/libavformat/hcom.c
index 0d1736b620..3e1e8da236 100644
--- a/libavformat/hcom.c
+++ b/libavformat/hcom.c
@@ -38,7 +38,7 @@ static int hcom_probe(const AVProbeData *p)
 static int hcom_read_header(AVFormatContext *s)
 {
     AVStream *st;
-    unsigned data_size, rsrc_size, huffcount;
+    av_unused unsigned data_size, rsrc_size, huffcount;
     unsigned compresstype, divisor;
     unsigned dict_entries;
     int ret;



More information about the ffmpeg-cvslog mailing list