aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-06-30 19:39:36 -0400
committerDave Gauer <dave@ratfactor.com>2021-06-30 19:39:36 -0400
commit7b37431b6bb5143dc82f1b1b95a3d5073e289404 (patch)
tree1bfb69cad62234cdb8f242c970c528043effc5b8
parentf072562102966aa4e4fcac7d2e95c4ed15646105 (diff)
downloadziglings-7b37431b6bb5143dc82f1b1b95a3d5073e289404.tar.gz
ziglings-7b37431b6bb5143dc82f1b1b95a3d5073e289404.tar.bz2
ziglings-7b37431b6bb5143dc82f1b1b95a3d5073e289404.tar.xz
ziglings-7b37431b6bb5143dc82f1b1b95a3d5073e289404.zip
No unused locals
-rw-r--r--exercises/071_comptime6.zig2
-rw-r--r--patches/patches/071_comptime6.patch2
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| {