[FFmpeg-devel,4/5] avformat/hcom: Tell the compiler about set but not read variables

Submitted by Michael Niedermayer on Aug. 28, 2019, 5:26 p.m.

Details

Message ID 20190828172653.20031-4-michael@niedermayer.cc
State New
Headers show

Commit Message

Michael Niedermayer Aug. 28, 2019, 5:26 p.m.
This avoids 3 warnings

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavformat/hcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;