Applied, thanks!

Milos Nikic, le jeu. 26 mars 2026 22:14:44 -0700, a ecrit:
> This attribute tells compilers and static analyzers that
> this functions halts execution, allowing static analysis to
> avoid issuing false positives and compilers to better optimize
> dead code.
> ---
>  ext2fs/ext2fs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
> index 309a8434..49d4005f 100644
> --- a/ext2fs/ext2fs.h
> +++ b/ext2fs/ext2fs.h
> @@ -326,7 +326,7 @@ extern void _ext2_error (const char *, const char *, ...)
>  
>  #define ext2_panic(fmt, args...) _ext2_panic (__FUNCTION__, fmt , ##args)
>  extern void _ext2_panic (const char *, const char *, ...)
> -     __attribute__ ((format (printf, 2, 3)));
> +     __attribute__ ((format (printf, 2, 3))) __attribute__((noreturn));
>  
>  extern void ext2_warning (const char *, ...)
>       __attribute__ ((format (printf, 1, 2)));
> -- 
> 2.53.0
> 

-- 
Samuel
<d> bah à défaut de ligne TGV, ils ont un GR
 -+- #ens-mim - comment ça, paumé ?! -+-

Reply via email to