diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-29 16:33:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-29 16:33:32 +0100 |
commit | 3cd9849d9c24b0808e6e55cd7568250acaae2b91 (patch) | |
tree | fa2f58ad037f8f35e608b262d576c813e5c000f7 /libavutil | |
parent | ebe368d5d82c368fec81ec4ddf216200e5008999 (diff) | |
download | ffmpeg-3cd9849d9c24b0808e6e55cd7568250acaae2b91.tar.gz |
eval: fix 'warning: ignoring return value of strtod, declared with attribute warn_unused_result'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index 22b491fef3..712d2f2678 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); |