mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-29 04:01:27 +01:00
FEXRootFSFetcher: Fixes uninitialized variable
This commit is contained in:
1 file changed
+1
-1
@@ -557,7 +557,7 @@ std::optional<std::vector<FileTargets>> GetRootFSLinks() {
|
||||
|
||||
for (const json_t* RootItem = json_getChild(RootList); RootItem != nullptr; RootItem = json_getSibling(RootItem)) {
|
||||
|
||||
FileTargets Target;
|
||||
FileTargets Target {};
|
||||
Target.DistroName = json_getName(RootItem);
|
||||
|
||||
for (const json_t* DataItem = json_getChild(RootItem); DataItem != nullptr; DataItem = json_getSibling(DataItem)) {
|
||||
|
||||
Reference in new issue
Block a user