From 65298a192a9292eb56739b4100e4aa51ce2a9aab Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 8 Aug 2016 14:36:04 +0200 Subject: [PATCH] avformat/id3v2: Mark variable as unused to avoid "set but not used" warning Signed-off-by: Michael Niedermayer --- libavformat/id3v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 380a98268e..921a7c2399 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -408,7 +408,7 @@ static void read_comment(AVFormatContext *s, AVIOContext *pb, int taglen, const char *key = "comment"; uint8_t *dst; int encoding, dict_flags = AV_DICT_DONT_OVERWRITE | AV_DICT_DONT_STRDUP_VAL; - int language; + av_unused int language; if (taglen < 4) return;