mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 10:04:37 +08:00
tools/seek_print: mark usage() as av_noreturn
It always calls exit(). Fixes -Wimplicit-fallthrough. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -24,13 +24,14 @@
|
||||
#endif
|
||||
|
||||
#include "libavformat/avformat.h"
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/timestamp.h"
|
||||
|
||||
#if !HAVE_GETOPT
|
||||
#include "compat/getopt.c"
|
||||
#endif
|
||||
|
||||
static void usage(int ret)
|
||||
av_noreturn static void usage(int ret)
|
||||
{
|
||||
fprintf(ret ? stderr : stdout,
|
||||
"Usage: seek_print file [command ...]\n"
|
||||
|
||||
Reference in new issue
Block a user