From 455245ca8a10aa727ffb835db0c02c6bded46a8e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 19 Apr 2012 14:53:23 +0200 Subject: [PATCH] mov: Remove write-only variable in mov_read_chan(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libavformat/mov.c:597:25: warning: variable ‘cflags’ set but not used --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 35c9b6e6b5..ad1340a79d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -624,9 +624,9 @@ static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom) label_mask = 0; for (i = 0; i < num_descr; i++) { - uint32_t label, cflags; + uint32_t label; label = avio_rb32(pb); // mChannelLabel - cflags = avio_rb32(pb); // mChannelFlags + avio_rb32(pb); // mChannelFlags avio_rl32(pb); // mCoordinates[0] avio_rl32(pb); // mCoordinates[1] avio_rl32(pb); // mCoordinates[2]