From d9eb83e1f599fbd501d86c9904b02c0da63f3c50 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Sun, 10 May 2026 19:15:17 +0100 Subject: [PATCH] Make the struct tm a const (cppcheck recommendation). --- src/main/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/debug.c b/src/main/debug.c index 68b8274..569a834 100644 --- a/src/main/debug.c +++ b/src/main/debug.c @@ -39,7 +39,7 @@ void debugging_output(const char *function, const char *file, int line, const ch static FILE *debugfptr = NULL; va_list ap; time_t t; - struct tm *tm; + const struct tm *tm; char tbuf[128]; /* flawfinder: ignore */ /*