diff --git a/source3/lib/util_path.c b/source3/lib/util_path.c index 9c9c6eb5807..a7d1a8b1328 100644 --- a/source3/lib/util_path.c +++ b/source3/lib/util_path.c @@ -215,7 +215,7 @@ static bool find_snapshot_token( { const char *start = NULL; const char *end = NULL; - struct tm tm; + struct tm tm = {}; time_t t; start = strstr_m(filename, "@GMT-");