Skip to content

Commit

Permalink
[lipo] Initialized variable after #67737
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Oct 2, 2023
1 parent 6ae36c0 commit 55d8f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Object/MachOUniversalWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ buildFatArchList(ArrayRef<Slice> Slices) {
.str()
.c_str());

FatArchTy FatArch;
FatArchTy FatArch = {};
FatArch.cputype = S.getCPUType();
FatArch.cpusubtype = S.getCPUSubType();
FatArch.offset = Offset;
Expand Down

0 comments on commit 55d8f0c

Please sign in to comment.