mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-23 23:32:47 +00:00
common/fs/file: Default initialize IOFile members
Prevents a potential uninitialized read vector in the move constructor.
This commit is contained in:
parent
3289abe1cc
commit
019bc9f6b2
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue