Browse Source

No unused locals

Dave Gauer 4 years ago
parent
commit
c7b00fd83c
2 changed files with 1 additions and 3 deletions
  1. 0 2
      exercises/071_comptime6.zig
  2. 1 1
      patches/patches/071_comptime6.patch

+ 0 - 2
exercises/071_comptime6.zig

@@ -29,8 +29,6 @@ const Narcissus = struct {
 };
 };
 
 
 pub fn main() void {
 pub fn main() void {
-    var narcissus: Narcissus = Narcissus {};
-
     print("Narcissus has room in his heart for:", .{});
     print("Narcissus has room in his heart for:", .{});
 
 
     // Last time we examined the Narcissus struct, we had to
     // Last time we examined the Narcissus struct, we had to

+ 1 - 1
patches/patches/071_comptime6.patch

@@ -1,4 +1,4 @@
-45c45
+43c43
 <     ??? {
 <     ??? {
 ---
 ---
 >     inline for (fields) |field| {
 >     inline for (fields) |field| {