mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-27 15:42:25 -07:00
common/fs/file: Default initialize IOFile members
Prevents a potential uninitialized read vector in the move constructor.
This commit is contained in:
@@ -441,8 +441,8 @@ public:
|
||||
|
||||
private:
|
||||
std::filesystem::path file_path;
|
||||
FileAccessMode file_access_mode;
|
||||
FileType file_type;
|
||||
FileAccessMode file_access_mode{};
|
||||
FileType file_type{};
|
||||
|
||||
std::FILE* file = nullptr;
|
||||
};
|
||||
|
Reference in New Issue
Block a user