ALL: move av_unused to conform with standard requirement

This is required placement by standard [[maybe_unused]] attribute, works
the same for __attribute__((unused)).

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow 2025-09-25 19:31:17 +02:00 committed by Niklas Haas
parent b9cc8e3210
commit d6cb0d2c2b
62 changed files with 151 additions and 151 deletions

View file

@ -552,7 +552,7 @@ static int parse_dB(AVExpr **e, Parser *p, int *sign)
for example, -3dB is not the same as -(3dB) */
if (*p->s == '-') {
char *next;
double av_unused ignored = strtod(p->s, &next);
av_unused double ignored = strtod(p->s, &next);
if (next != p->s && next[0] == 'd' && next[1] == 'B') {
*sign = 0;
return parse_primary(e, p);