aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-06-21 13:07:36 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-06-21 17:03:03 -0700
commit7a595f2e6c299afc8830c851b1797babc6087206 (patch)
treebd8103bc7f4d6324d03b9d04a50ce195c4cb7487 /lib
parent3d8aa97165feacc96d4a27f17b826293e57fc4c7 (diff)
downloadzig-7a595f2e6c299afc8830c851b1797babc6087206.tar.gz
zig-7a595f2e6c299afc8830c851b1797babc6087206.zip
remove unused parameters
Diffstat (limited to 'lib')
-rw-r--r--lib/std/special/compiler_rt/comparedf2_test.zig3
-rw-r--r--lib/std/special/compiler_rt/comparesf2_test.zig3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/std/special/compiler_rt/comparedf2_test.zig b/lib/std/special/compiler_rt/comparedf2_test.zig
index ad3e26f915..018d95c0ae 100644
--- a/lib/std/special/compiler_rt/comparedf2_test.zig
+++ b/lib/std/special/compiler_rt/comparedf2_test.zig
@@ -100,8 +100,7 @@ const test_vectors = init: {
};
test "compare f64" {
- for (test_vectors) |vector, i| {
- _ = i;
+ for (test_vectors) |vector| {
try std.testing.expect(test__cmpdf2(vector));
}
}
diff --git a/lib/std/special/compiler_rt/comparesf2_test.zig b/lib/std/special/compiler_rt/comparesf2_test.zig
index b50fd59d9d..10ffc3c063 100644
--- a/lib/std/special/compiler_rt/comparesf2_test.zig
+++ b/lib/std/special/compiler_rt/comparesf2_test.zig
@@ -100,8 +100,7 @@ const test_vectors = init: {
};
test "compare f32" {
- for (test_vectors) |vector, i| {
- _ = i;
+ for (test_vectors) |vector| {
try std.testing.expect(test__cmpsf2(vector));
}
}