diff options
Diffstat (limited to 'src/install/integrity.zig')
-rw-r--r-- | src/install/integrity.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/install/integrity.zig b/src/install/integrity.zig index debe861a4..1a52b5b1a 100644 --- a/src/install/integrity.zig +++ b/src/install/integrity.zig @@ -66,8 +66,6 @@ pub const Integrity = extern struct { i += 1; } - var remainder = &integrity.value[out_i..]; - return integrity; } @@ -146,7 +144,7 @@ pub const Integrity = extern struct { return this.value[0..this.tag.digestLen()]; } - pub fn format(this: *const Integrity, comptime layout: []const u8, opts: std.fmt.FormatOptions, writer: anytype) !void { + pub fn format(this: *const Integrity, comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype) !void { switch (this.tag) { .sha1 => try writer.writeAll("sha1-"), .sha256 => try writer.writeAll("sha256-"), |