From: AZero13 Date: Mon, 19 May 2025 17:35:19 +0000 (-0400) Subject: Label error and errorx as __LA_NORETURN X-Git-Tag: v3.8.0~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2618%2Fhead;p=thirdparty%2Flibarchive.git Label error and errorx as __LA_NORETURN This also prevents clang-tidy from reporting some false bugs. --- diff --git a/unzip/bsdunzip.c b/unzip/bsdunzip.c index f2bd14356..621afbeb9 100644 --- a/unzip/bsdunzip.c +++ b/unzip/bsdunzip.c @@ -111,7 +111,7 @@ static int noeol; static char *passphrase_buf; /* fatal error message + errno */ -static void +static void __LA_NORETURN error(const char *fmt, ...) { va_list ap; @@ -128,7 +128,7 @@ error(const char *fmt, ...) } /* fatal error message, no errno */ -static void +static void __LA_NORETURN errorx(const char *fmt, ...) { va_list ap;