aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Directory.cxx4
1 files changed, 3 insertions, 1 deletions
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 <stdlib.h>
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);