FEXRootFSFetcher: Fixes uninitialized variable

This commit is contained in:
Ryan Houdek committed 2024-09-08 18:03:20 -07:00
1 parent a94aaca0ec
commit d260bce31e
1 file changed
+1 -1
+1 -1
View File
@@ -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)) {