From 9efa5d5b44f80878c5fda15709bccfadc181f4fc Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 23 Nov 2022 18:57:14 -0500 Subject: [PATCH] follow-up bit (in unused ms-dos code) --- sys/msdos/tile2bin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/msdos/tile2bin.c b/sys/msdos/tile2bin.c index 90a7ebf43..1fa622d11 100644 --- a/sys/msdos/tile2bin.c +++ b/sys/msdos/tile2bin.c @@ -191,8 +191,8 @@ main(int argc, char *argv[]) strncpy(tibheader.ident, "NetHack 3.7 MSDOS Port binary tile file", 80); #if !defined(NOSTRFTIME) - if (!strftime(tibheader.timestamp, - sizeof tibheader.timestamp, "%c", newtime)) + (void) strftime(tibheader.timestamp, + sizeof tibheader.timestamp, "%c", newtime); #else strncpy(tibheader.timestamp, asctime(newtime), 24); #endif