From 09aadffe9bc14b42fb36342f1b133b8e15745b5c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 Jul 2009 11:32:31 +0200 Subject: song: initialize mtime in song_alloc() --- src/song.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/song.c b/src/song.c index f7eee54a2..76c25f44f 100644 --- a/src/song.c +++ b/src/song.c @@ -49,6 +49,7 @@ song_alloc(const char *url, struct directory *parent) song->tag = NULL; memcpy(song->url, url, urllen + 1); song->parent = parent; + song->mtime = 0; return song; } -- cgit v1.2.3