Browse Source

No unused fn params

Dave Gauer 4 years ago
parent
commit
aa733dc3ef
2 changed files with 2 additions and 0 deletions
  1. 1 0
      exercises/088_async5.zig
  2. 1 0
      exercises/089_async6.zig

+ 1 - 0
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.";
 }

+ 1 - 0
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";
 }