commit 7b2bec5985b79a73613c0858a845b97ad614794d
parent 6890a40099bf940bb7bf21c0f5b073766ff67f5f
Author: NRK <nrk@disroot.org>
Date: Tue, 5 Jul 2022 21:11:37 +0600
remove __dead code
this check is already done in util.h and is no longer needed after the
`sfeed_curses -> sfeed` merge.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -208,11 +208,6 @@ ttywrite(const char *s)
return write(1, s, strlen(s));
}
-/* Hint for compilers and static analyzers that a function exits. */
-#ifndef __dead
-#define __dead
-#endif
-
/* Print to stderr, call cleanup() and _exit(). */
__dead void
die(const char *fmt, ...)