aboutsummaryrefslogtreecommitdiff
path: root/std/coff.zig
diff options
context:
space:
mode:
authoremekoi <emekankurumeh@outlook.com>2019-06-28 18:22:02 -0500
committeremekoi <emekankurumeh@outlook.com>2019-06-28 18:22:02 -0500
commitb780dee3e845f5c8fb8ea7b7906685d5196261a4 (patch)
tree1907f185530704d376b3f9ce7fc0fe79485d5bed /std/coff.zig
parentfbb0c8d639ec205848f03099413c57f686c2d05d (diff)
downloadzig-b780dee3e845f5c8fb8ea7b7906685d5196261a4.tar.gz
zig-b780dee3e845f5c8fb8ea7b7906685d5196261a4.zip
initialize sections in openSelfDebugInfoWindows
Diffstat (limited to 'std/coff.zig')
-rw-r--r--std/coff.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/std/coff.zig b/std/coff.zig
index ceb6050055..2c65da5e9e 100644
--- a/std/coff.zig
+++ b/std/coff.zig
@@ -145,7 +145,6 @@ pub const Coff = struct {
if (self.sections.len == self.coff_header.number_of_sections)
return;
- self.sections = ArrayList(Section).init(self.allocator);
try self.sections.ensureCapacity(self.coff_header.number_of_sections);
var file_stream = self.in_file.inStream();