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: private:
#ifndef _WIN32 #ifndef _WIN32
DIR *d; DIR *d{};
const struct dirent *current_entry; const struct dirent *current_entry{};
#else #else
HANDLE hFind; HANDLE hFind{};
WIN32_FIND_DATA data; WIN32_FIND_DATA data{};
bool ended{ false }; bool ended{ false };
#endif #endif
}; };