aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-06-30 19:59:25 -0400
committerDave Gauer <dave@ratfactor.com>2021-06-30 19:59:25 -0400
commit613d77b7f8765c0e0bf0cf6fb1fa67d7870a5861 (patch)
treed6235edbf5a7df93d00aec17f4fb190f3dfa2b3f /exercises
parent88c550062d6da8869974e13e037e303bdaaff857 (diff)
downloadziglings-613d77b7f8765c0e0bf0cf6fb1fa67d7870a5861.tar.gz
ziglings-613d77b7f8765c0e0bf0cf6fb1fa67d7870a5861.tar.bz2
ziglings-613d77b7f8765c0e0bf0cf6fb1fa67d7870a5861.tar.xz
ziglings-613d77b7f8765c0e0bf0cf6fb1fa67d7870a5861.zip
No unused fn params
Diffstat (limited to 'exercises')
-rw-r--r--exercises/088_async5.zig1
-rw-r--r--exercises/089_async6.zig1
2 files changed, 2 insertions, 0 deletions
diff --git a/exercises/088_async5.zig b/exercises/088_async5.zig
index 523fa73..759a920 100644
--- a/exercises/088_async5.zig
+++ b/exercises/088_async5.zig
@@ -43,5 +43,6 @@ pub fn main() void {
fn getPageTitle(url: []const u8) []const u8 {
// Please PRETEND this is actually making a network request.
+ _ = url;
return "Example Title.";
}
diff --git a/exercises/089_async6.zig b/exercises/089_async6.zig
index d1681f7..755b438 100644
--- a/exercises/089_async6.zig
+++ b/exercises/089_async6.zig
@@ -49,5 +49,6 @@ pub fn main() void {
fn getPageTitle(url: []const u8) []const u8 {
// Please PRETEND this is actually making a network request.
+ _ = url;
return "Example Title";
}