Commit 876a0951 authored by Max Kellermann's avatar Max Kellermann

Directory: initialize "mtime" and "have_stat"

parent 14c3ff58
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment