From cd073ba92facc2fafef001f2cf6950d6d0bb1fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Wed, 29 Jul 2026 22:32:55 +0200 Subject: [PATCH] tools/seek_print: mark usage() as av_noreturn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It always calls exit(). Fixes -Wimplicit-fallthrough. Signed-off-by: Kacper Michajłow --- tools/seek_print.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/seek_print.c b/tools/seek_print.c index 9280421741..632bd0692f 100644 --- a/tools/seek_print.c +++ b/tools/seek_print.c @@ -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"