summaryrefslogtreecommitdiff
path: root/libavformat/hcom.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-08-28 19:07:23 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-09-16 00:04:18 +0200
commit24e52709112e3cf625cf00d3a4c3ae7d0c323d3c (patch)
treeb78fe7911924187cbe94631b05a4e98d4ab14c3d /libavformat/hcom.c
parentc80715f15359ded7c90bf517b2bbfa1c2b0ce517 (diff)
avformat/hcom: Tell the compiler about set but not read variables
This avoids 3 warnings Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/hcom.c')
-rw-r--r--libavformat/hcom.c2
1 files changed, 1 insertions, 1 deletions
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;