diff options
author | Max Kellermann <max@duempel.org> | 2010-09-23 08:58:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-09-23 09:01:23 +0200 |
commit | 586b7601c6f8df725f455ae3d02107f5e896e545 (patch) | |
tree | f50a1ede7140bcccfd0c75513f1d4add6e6c030e /src/playlist | |
parent | 4425989898dec5454027f0d04b838470480daebd (diff) | |
download | mpd-586b7601c6f8df725f455ae3d02107f5e896e545.tar.gz mpd-586b7601c6f8df725f455ae3d02107f5e896e545.tar.xz mpd-586b7601c6f8df725f455ae3d02107f5e896e545.zip |
playlist_database: initialize pm.mtime
Diffstat (limited to '')
-rw-r--r-- | src/playlist_database.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |