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