mirror of https://git.ffmpeg.org/ffmpeg.git
eval: fix 'warning: ignoring return value of strtod, declared with attribute warn_unused_result'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ebe368d5d8
commit
3cd9849d9c
|
@ -467,7 +467,7 @@ static int parse_dB(AVExpr **e, Parser *p, int *sign)
|
||||||
for example, -3dB is not the same as -(3dB) */
|
for example, -3dB is not the same as -(3dB) */
|
||||||
if (*p->s == '-') {
|
if (*p->s == '-') {
|
||||||
char *next;
|
char *next;
|
||||||
strtod(p->s, &next);
|
double av_unused v = strtod(p->s, &next);
|
||||||
if (next != p->s && next[0] == 'd' && next[1] == 'B') {
|
if (next != p->s && next[0] == 'd' && next[1] == 'B') {
|
||||||
*sign = 0;
|
*sign = 0;
|
||||||
return parse_primary(e, p);
|
return parse_primary(e, p);
|
||||||
|
|
Loading…
Reference in New Issue