From 88c03474f897a26fccad0549860d932004185353 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sun, 23 Jul 2023 14:13:23 +0000 Subject: [PATCH] revert previous Somehow the compat for __dead is not working properly on macos (cirrus ci) since it complains that parse_debug() does not return a value in all control paths when it uses usage() (marked as __dead) to catch a wrong usage. --- gg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gg.c b/gg.c index 3349f6f..d8508f2 100644 --- a/gg.c +++ b/gg.c @@ -305,7 +305,7 @@ get(const char *r) } } -static void __dead +static void __attribute__((noreturn)) usage(void) { fprintf(stderr, "version: " GG_STRING "\n");