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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user