From c48f0176412f2c15fbb3cbc6052550959f581da9 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 30 Jun 2024 17:00:48 +0900 Subject: Add support for release compilation mode Displays are not shared libraries, but object files that are part of the final executable. --- src/calculer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/calculer.c') diff --git a/src/calculer.c b/src/calculer.c index 705fb74..6bf8fbb 100644 --- a/src/calculer.c +++ b/src/calculer.c @@ -153,7 +153,7 @@ main(int argc, char *argv[]) time_t now = time(NULL); struct tm *tm = localtime(&now); size_t bytes_written = strftime(logbuf, sizeof(logbuf), "%F\t", tm); - assert(bytes_written); + assert(bytes_written); /* TODO: better handling */ int opt; while ((opt = getopt(argc, argv, ":Vhl:m:M:i:")) != -1) -- cgit v1.2.3