From 2b868bb6dd430386bc97e9e387d3b43c673f0dac Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 31 Oct 2024 16:42:19 -0700 Subject: [PATCH] link.File.Wasm.Archive: remove header field it's not needed --- src/link/Wasm/Archive.zig | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/link/Wasm/Archive.zig b/src/link/Wasm/Archive.zig index bdbdec6f9a..36741b9960 100644 --- a/src/link/Wasm/Archive.zig +++ b/src/link/Wasm/Archive.zig @@ -1,5 +1,3 @@ -header: ar_hdr, - /// A list of long file names, delimited by a LF character (0x0a). /// This is stored as a single slice of bytes, as the header-names /// point to the character index of a file name, rather than the index @@ -110,7 +108,6 @@ pub fn parse(gpa: Allocator, file_contents: []const u8) !Archive { errdefer gpa.free(long_file_names); return .{ - .header = header, .toc = toc, .long_file_names = long_file_names, };