The return value is not needed. This fixes the warning:
libavutil/eval.c:353:15: warning: ignoring return value of ‘strtod’
* see http://joe.hotchkiss.com/programming/eval/eval.html
*/
* see http://joe.hotchkiss.com/programming/eval/eval.html
*/
#include "avutil.h"
#include "common.h"
#include "eval.h"
#include "avutil.h"
#include "common.h"
#include "eval.h"
for example, -3dB is not the same as -(3dB) */
if (*p->s == '-') {
char *next;
for example, -3dB is not the same as -(3dB) */
if (*p->s == '-') {
char *next;
+ double av_unused ignored = strtod(p->s, &next);
if (next != p->s && next[0] == 'd' && next[1] == 'B') {
*sign = 0;
return parse_primary(e, p);
if (next != p->s && next[0] == 'd' && next[1] == 'B') {
*sign = 0;
return parse_primary(e, p);