Make sure FSLib::Directory variables are initialized

This commit is contained in:
zvon 2019-09-26 21:58:41 +02:00
parent f1063bb14e
commit 8310b4ef74

View File

@ -79,11 +79,11 @@ public:
private:
#ifndef _WIN32
DIR *d;
const struct dirent *current_entry;
DIR *d{};
const struct dirent *current_entry{};
#else
HANDLE hFind;
WIN32_FIND_DATA data;
HANDLE hFind{};
WIN32_FIND_DATA data{};
bool ended{ false };
#endif
};