mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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:
parent
b9cc8e3210
commit
d6cb0d2c2b
62 changed files with 151 additions and 151 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue