diff --git a/filesystem.hpp b/filesystem.hpp index a12aaea..9eb0a73 100644 --- a/filesystem.hpp +++ b/filesystem.hpp @@ -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 };