From 641ecc260f43ffb2398acb80cbd141535dbbb03d Mon Sep 17 00:00:00 2001 From: Jacob G-W Date: Wed, 9 Jun 2021 21:35:42 -0400 Subject: std, src, doc, test: remove unused variables --- test/behavior/switch.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/behavior/switch.zig') diff --git a/test/behavior/switch.zig b/test/behavior/switch.zig index 9d05e3edea..ad32d2edaf 100644 --- a/test/behavior/switch.zig +++ b/test/behavior/switch.zig @@ -103,6 +103,7 @@ fn switchProngWithVarFn(a: SwitchProngWithVarEnum) !void { }, SwitchProngWithVarEnum.Meh => |x| { const v: void = x; + _ = v; }, } } @@ -454,6 +455,7 @@ test "switch variable for range and multiple prongs" { } } }; + _ = S; } var state: u32 = 0; -- cgit v1.2.3