Make the struct tm a const (cppcheck recommendation).

This commit is contained in:
Andrew Wood
2026-05-10 19:15:17 +01:00
parent 411f9529a2
commit d9eb83e1f5
+1 -1
View File
@@ -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 */
/*