diff options
| author | Dave Gauer <[email protected]> | 2021-06-30 19:39:36 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2021-06-30 19:39:36 -0400 |
| commit | c7b00fd83c4852b700e6e72eb2e0d9cc402b032d (patch) | |
| tree | 1bfb69cad62234cdb8f242c970c528043effc5b8 | |
| parent | 76287cad45b8db6db6a296168e8112b22c0d3f59 (diff) | |
| download | ziglings-c7b00fd83c4852b700e6e72eb2e0d9cc402b032d.tar.xz ziglings-c7b00fd83c4852b700e6e72eb2e0d9cc402b032d.zip | |
No unused locals
| -rw-r--r-- | exercises/071_comptime6.zig | 2 | ||||
| -rw-r--r-- | patches/patches/071_comptime6.patch | 2 |
2 files changed, 1 insertions, 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| { |
