The variables are used, but only inside an av_assert1().
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -254,7 +254,7 @@ static int decode_palmapdata(AVCodecContext *avctx) · 253 unmodified lines | ||
| 254 | 254 | const int bits = (s->nb_pal + 1) / 2; |
| 255 | 255 | GetByteContext *gb = &s->gb; |
| 256 | 256 | GetBitContext pm; |
| 257 | − int ret; | |
| 257 | + av_unused int ret; | |
| 258 | 258 | |
| 259 | 259 | bytestream2_seek(gb, s->palmapdata_offset, SEEK_SET); |
| 260 | 260 | if (bytestream2_get_bytes_left(gb) < s->palmapdata_size) |
| @@ -279,7 +279,7 @@ static int decode_tiledata(AVCodecContext *avctx) · 18 unmodified lines | ||
| 279 | 279 | SGAVideoContext *s = avctx->priv_data; |
| 280 | 280 | GetByteContext *gb = &s->gb; |
| 281 | 281 | GetBitContext tm; |
| 282 | − int ret; | |
| 282 | + av_unused int ret; | |
| 283 | 283 | |
| 284 | 284 | bytestream2_seek(gb, s->tiledata_offset, SEEK_SET); |
| 285 | 285 | if (bytestream2_get_bytes_left(gb) < s->tiledata_size) |