summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-29 16:33:32 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-29 16:33:32 +0100
commit3cd9849d9c24b0808e6e55cd7568250acaae2b91 (patch)
treefa2f58ad037f8f35e608b262d576c813e5c000f7 /libavutil
parentebe368d5d82c368fec81ec4ddf216200e5008999 (diff)
downloadffmpeg-streaming-3cd9849d9c24b0808e6e55cd7568250acaae2b91.zip
ffmpeg-streaming-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c
index 22b491f..712d2f2 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);
OpenPOWER on IntegriCloud