SCCS-vsn: games/atc/log.c 5.2
-static char sccsid[] = "@(#)log.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)log.c 5.2 (Berkeley) %G%";
#endif not lint
#include "include.h"
#endif not lint
#include "include.h"
static char s[80];
if (DAY(t) > 0)
static char s[80];
if (DAY(t) > 0)
- sprintf(s, "%dd+%02dhrs", DAY(t), HOUR(t));
+ (void)sprintf(s, "%dd+%02dhrs", DAY(t), HOUR(t));
- sprintf(s, "%d:%02d:%02d", HOUR(t), MIN(t), SEC(t));
+ (void)sprintf(s, "%d:%02d:%02d", HOUR(t), MIN(t), SEC(t));
- sprintf(s, "%d:%02d", MIN(t), SEC(t));
+ (void)sprintf(s, "%d:%02d", MIN(t), SEC(t));
- sprintf(s, ":%02d", SEC(t));
+ (void)sprintf(s, ":%02d", SEC(t));