From 876a095166de3a834007e637b9f845ffbc5a275a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 15 Jan 2014 18:53:53 +0100 Subject: Directory: initialize "mtime" and "have_stat" --- src/Directory.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Directory.cxx b/src/Directory.cxx index 8a74fad79..ff2c00b05 100644 --- a/src/Directory.cxx +++ b/src/Directory.cxx @@ -39,7 +39,9 @@ extern "C" { #include Directory::Directory(const char *_path_utf8, Directory *_parent) - :parent(_parent), path(_path_utf8) + :parent(_parent), + mtime(0), have_stat(false), + path(_path_utf8) { INIT_LIST_HEAD(&children); INIT_LIST_HEAD(&songs); -- cgit v1.2.3