mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-09-20 08:18:35 +00:00
fix uninitialized data access
This commit is contained in:
parent
441cf3e44a
commit
3f681df505
1 changed files with 2 additions and 2 deletions
|
@ -74,13 +74,13 @@ namespace ams::fssystem {
|
|||
}
|
||||
|
||||
DirectorySaveDataFileSystem::DirectorySaveDataFileSystem(std::shared_ptr<fs::fsa::IFileSystem> fs)
|
||||
: PathResolutionFileSystem(fs)
|
||||
: PathResolutionFileSystem(fs), open_writable_files(0)
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
|
||||
DirectorySaveDataFileSystem::DirectorySaveDataFileSystem(std::unique_ptr<fs::fsa::IFileSystem> fs)
|
||||
: PathResolutionFileSystem(std::forward<std::unique_ptr<fs::fsa::IFileSystem>>(fs))
|
||||
: PathResolutionFileSystem(std::forward<std::unique_ptr<fs::fsa::IFileSystem>>(fs)), open_writable_files(0)
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue