From 00eea0e61509847d52c6e7c328c526cd8ea21f5e 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