catpoint

Catpoint simple presenting software.
git clone git://r-36.net/catpoint
Log | Files | Refs | README | LICENSE

commit a09f93d317d1d5a400e46806b0c066170632961a
parent fff6e681e69d648d231c8ff98df5f0ffa2629120
Author: Troels Henriksen <athas@sigkill.dk>
Date:   Sun,  4 Aug 2024 18:20:25 +0200

Silence 'fwarn_unused_result' warning.

There is nothing meaningful you can do with the return value in this
case.

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
Mcatpoint.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catpoint.c b/catpoint.c @@ -57,7 +57,7 @@ die(const char *fmt, ...) if (saved_errno) fprintf(stderr, ": %s", strerror(saved_errno)); fflush(stderr); - write(2, "\n", 1); + (void)!write(2, "\n", 1); _exit(1); }