SMOLNET PORTAL home about changes
remove __dead code - sfeed - RSS and Atom parser
(URL) git clone git://git.codemadness.org/sfeed (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7b2bec5985b79a73613c0858a845b97ad614794d
(DIR) parent 6890a40099bf940bb7bf21c0f5b073766ff67f5f
(URL) Author: NRK <nrk@disroot.org> (mailto://) application/vnd.lotus-organizer
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:
M sfeed_curses.c | 5 -----
1 file changed, 0 insertions(+), 5 deletions(-)
---
(DIR) 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, ...)
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed/commit/7b2bec5985b79...
Content-Typeapplication/gopher-menu; charset=utf-8