diff options
Diffstat (limited to 'ingen/filesystem.hpp')
-rw-r--r-- | ingen/filesystem.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ingen/filesystem.hpp b/ingen/filesystem.hpp index 3b2bc302..44b9148e 100644 --- a/ingen/filesystem.hpp +++ b/ingen/filesystem.hpp @@ -49,7 +49,7 @@ inline bool exists(const FilePath& path) inline bool is_directory(const FilePath& path) { - struct stat info; + struct stat info{}; stat(path.c_str(), &info); return S_ISDIR(info.st_mode); } |