From 2df4efb9345e0b63d2ab30d4cfd747045fa51da4 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 5 Oct 2016 11:25:04 +0200 Subject: [PATCH] wdct: mark usage() as noreturn [coverity scan] --- sys-utils/wdctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c index 095d8ed430..761142f2c6 100644 --- a/sys-utils/wdctl.c +++ b/sys-utils/wdctl.c @@ -165,7 +165,7 @@ static struct colinfo *get_column_info(unsigned num) return &infos[ get_column_id(num) ]; } -static void usage(FILE *out) +static void __attribute__ ((__noreturn__)) usage(FILE *out) { size_t i; -- 2.47.2