summaryrefslogtreecommitdiff
path: root/libavformat/id3v2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-08-08 14:36:04 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-08 18:37:07 +0200
commit65298a192a9292eb56739b4100e4aa51ce2a9aab (patch)
treef427c77c171cf64687bb400c190355475f7ee252 /libavformat/id3v2.c
parent6aa39080ccea2b60433e920417844c3a3c0da50b (diff)
avformat/id3v2: Mark variable as unused to avoid "set but not used" warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r--libavformat/id3v2.c2
1 files changed, 1 insertions, 1 deletions
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;