From 7b37431b6bb5143dc82f1b1b95a3d5073e289404 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Wed, 30 Jun 2021 19:39:36 -0400 Subject: No unused locals --- exercises/071_comptime6.zig | 2 -- patches/patches/071_comptime6.patch | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/exercises/071_comptime6.zig b/exercises/071_comptime6.zig index 2efba2b..f764590 100644 --- a/exercises/071_comptime6.zig +++ b/exercises/071_comptime6.zig @@ -29,8 +29,6 @@ const Narcissus = struct { }; pub fn main() void { - var narcissus: Narcissus = Narcissus {}; - print("Narcissus has room in his heart for:", .{}); // Last time we examined the Narcissus struct, we had to diff --git a/patches/patches/071_comptime6.patch b/patches/patches/071_comptime6.patch index 9f11567..0c6b3ad 100644 --- a/patches/patches/071_comptime6.patch +++ b/patches/patches/071_comptime6.patch @@ -1,4 +1,4 @@ -45c45 +43c43 < ??? { --- > inline for (fields) |field| { -- cgit v1.2.3-ZIG