diff --git a/lib/audit_logging/tests/audit_logging_test.c b/lib/audit_logging/tests/audit_logging_test.c index d41f9517c47..09238823399 100644 --- a/lib/audit_logging/tests/audit_logging_test.c +++ b/lib/audit_logging/tests/audit_logging_test.c @@ -830,7 +830,7 @@ static void test_audit_get_timestamp(_UNUSED_ void **state) { const char *t = NULL; char *c; - struct tm tm; + struct tm tm = {}; time_t before; time_t after; time_t actual;