1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 18:02:37 +01:00

Codefix: initialise all fields of FileScanner

This commit is contained in:
Rubidium
2026-01-03 20:01:26 +01:00
committed by rubidium42
parent 46a05315b0
commit 7935253ee4

View File

@@ -36,7 +36,7 @@ extern std::vector<Searchpath> _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;