From 7935253ee42e58eac0eb749bcac82fe3cdd20bce Mon Sep 17 00:00:00 2001 From: Rubidium Date: Sat, 3 Jan 2026 20:01:26 +0100 Subject: [PATCH] Codefix: initialise all fields of FileScanner --- src/fileio_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;