From 586b7601c6f8df725f455ae3d02107f5e896e545 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Sep 2010 08:58:00 +0200 Subject: playlist_database: initialize pm.mtime --- src/playlist_database.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/playlist_database.c b/src/playlist_database.c index f74406277..0a8a6f139 100644 --- a/src/playlist_database.c +++ b/src/playlist_database.c @@ -46,7 +46,9 @@ bool playlist_metadata_load(FILE *fp, struct playlist_vector *pv, const char *name, GString *buffer, GError **error_r) { - struct playlist_metadata pm; + struct playlist_metadata pm = { + .mtime = 0, + }; char *line, *colon; const char *value; -- cgit v1.2.3