Silence 'fwarn_unused_result' warning. - catpoint - Catpoint simple presenting software.
 (HTM) git clone git://r-36.net/catpoint
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a09f93d317d1d5a400e46806b0c066170632961a
 (DIR) parent fff6e681e69d648d231c8ff98df5f0ffa2629120
 (HTM) 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:
         M catpoint.c                          |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) 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);
        }