| author | |
| committer | |
| log | b780dee3e845f5c8fb8ea7b7906685d5196261a4 |
| tree | 1907f185530704d376b3f9ce7fc0fe79485d5bed |
| parent | fbb0c8d639ec205848f03099413c57f686c2d05d |
2 files changed, 1 insertions(+), 2 deletions(-)
std/coff.zig-1| ... | ... | @@ -145,7 +145,6 @@ pub const Coff = struct { |
| 145 | 145 | if (self.sections.len == self.coff_header.number_of_sections) |
| 146 | 146 | return; |
| 147 | 147 | |
| 148 | self.sections = ArrayList(Section).init(self.allocator); | |
| 149 | 148 | try self.sections.ensureCapacity(self.coff_header.number_of_sections); |
| 150 | 149 | |
| 151 | 150 | var file_stream = self.in_file.inStream(); |
std/debug.zig+1-1| ... | ... | @@ -805,7 +805,7 @@ fn openSelfDebugInfoWindows(allocator: *mem.Allocator) !DebugInfo { |
| 805 | 805 | .allocator = allocator, |
| 806 | 806 | .coff_header = undefined, |
| 807 | 807 | .pe_header = undefined, |
| 808 | .sections = undefined, | |
| 808 | .sections = ArrayList(coff.Section).init(allocator), | |
| 809 | 809 | .guid = undefined, |
| 810 | 810 | .age = undefined, |
| 811 | 811 | }; |