diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-23 18:16:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-23 18:58:35 +0200 |
commit | 8136ab8e768b3341929f98412071d492fa729a06 (patch) | |
tree | daee4ab3b401f7233872b5f11af939b36d5d7168 /libavformat/ast.c | |
parent | 2d924b3a630869c65fe0c76568910500f54ed057 (diff) | |
download | ffmpeg-8136ab8e768b3341929f98412071d492fa729a06.tar.gz |
fftools/objpool: Don't use return with expression when returning void
Using tail calls with functions returning void is forbidden
(C99/C11 6.8.6.4: "A return statement with an expression shall not appear
in a function whose return type is void.") GCC emits a warning
because of this when using -pedantic: "ISO C forbids ‘return’ with
expression, in function returning void"
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/ast.c')
0 files changed, 0 insertions, 0 deletions