avformat/hcom: Tell the compiler about set but not read variables
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 28 Aug 2019 17:07:23 +0000 (19:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Sep 2019 22:04:18 +0000 (00:04 +0200)
This avoids 3 warnings

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/hcom.c

index 0d1736b..3e1e8da 100644 (file)
@@ -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;