diff --git a/src/fileio_func.h b/src/fileio_func.h index 6d4e0e0d7f..11de1ec992 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -36,7 +36,7 @@ extern std::vector _valid_searchpaths; /** Helper for scanning for files with a given name */ class FileScanner { protected: - Subdirectory subdir; ///< The current sub directory we are searching through + Subdirectory subdir{}; ///< The current sub directory we are searching through public: /** Destruct the proper one... */ virtual ~FileScanner() = default;