diff options
| author | Jacob G-W <jacoblevgw@gmail.com> | 2021-06-23 23:21:02 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-08 14:12:08 -0700 |
| commit | 4eb778fc3eeec62c5c45ccc0a21631ff757d8a23 (patch) | |
| tree | 0b47d20243451561992f6b6d4019d0b77016bae3 /src/link/Plan9.zig | |
| parent | 1c2facaf6b670863edf30d7c9d1d47368c4a90cc (diff) | |
| download | zig-4eb778fc3eeec62c5c45ccc0a21631ff757d8a23.tar.gz zig-4eb778fc3eeec62c5c45ccc0a21631ff757d8a23.zip | |
plan9 linker: remove unused stuff
Diffstat (limited to 'src/link/Plan9.zig')
| -rw-r--r-- | src/link/Plan9.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/link/Plan9.zig b/src/link/Plan9.zig index 1724ec446b..f12b8af6b5 100644 --- a/src/link/Plan9.zig +++ b/src/link/Plan9.zig @@ -115,6 +115,7 @@ pub fn createEmpty(gpa: *Allocator, options: link.Options) !*Plan9 { } pub fn updateDecl(self: *Plan9, module: *Module, decl: *Module.Decl) !void { + _ = module; _ = try self.decl_table.getOrPut(self.base.allocator, decl); } @@ -131,6 +132,7 @@ pub fn flush(self: *Plan9, comp: *Compilation) !void { } pub fn flushModule(self: *Plan9, comp: *Compilation) !void { + _ = comp; const tracy = trace(@src()); defer tracy.end(); @@ -301,6 +303,10 @@ pub fn updateDeclExports( exports: []const *Module.Export, ) !void { // we do all the things in flush + _ = self; + _ = module; + _ = decl; + _ = exports; } pub fn deinit(self: *Plan9) void { self.decl_table.deinit(self.base.allocator); |
