diff --git a/libavutil/eval.c b/libavutil/eval.c index 22b491fef372947faa708a5facdbdc17e70ca6f2..712d2f267865eec65de790617b2649a65ed3bdf2 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -467,7 +467,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; - strtod(p->s, &next); + double av_unused v = strtod(p->s, &next); if (next != p->s && next[0] == 'd' && next[1] == 'B') { *sign = 0; return parse_primary(e, p);