avcodec/libzvbi-teletextdec: Remove unused variable ret
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Nov 2015 03:38:58 +0000 (04:38 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Nov 2015 03:40:00 +0000 (04:40 +0100)
Fixes: libavcodec/libzvbi-teletextdec.c:232:9: warning: unused variable ret [-Wunused-variable]

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/libzvbi-teletextdec.c

index 22acd39..ff968ad 100644 (file)
@@ -229,7 +229,6 @@ static int gen_sub_bitmap(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_pa
     int resx = page->columns * BITMAP_CHAR_WIDTH;
     int resy = (page->rows - chop_top) * BITMAP_CHAR_HEIGHT;
     uint8_t ci, cmax = 0;
-    int ret;
     vbi_char *vc = page->text + (chop_top * page->columns);
     vbi_char *vcend = page->text + (page->rows * page->columns);