Browse Source

eval: fix 'warning: ignoring return value of strtod, declared with attribute warn_unused_result'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
3cd9849d9c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/eval.c

+ 1
- 1
libavutil/eval.c View File

@@ -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);


Loading…
Cancel
Save