From c7b00fd83c4852b700e6e72eb2e0d9cc402b032d Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Wed, 30 Jun 2021 19:39:36 -0400 Subject: [PATCH] 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| {