From 612e742c1f0c0a8916ae1a5bb444d6e95a1f34b7 Mon Sep 17 00:00:00 2001 From: Wertzui123 <46199283+Wertzui123@users.noreply.github.com> Date: Sat, 30 Oct 2021 17:49:54 +0200 Subject: [PATCH] examples: remove unneeded workaround (#12336) --- examples/game_of_life/modules/automaton/automaton.v | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/game_of_life/modules/automaton/automaton.v b/examples/game_of_life/modules/automaton/automaton.v index 5c0bf060b7..e68d64bf9e 100644 --- a/examples/game_of_life/modules/automaton/automaton.v +++ b/examples/game_of_life/modules/automaton/automaton.v @@ -23,7 +23,6 @@ pub fn (a &A2D) set(x int, y int, newval int) { mut e := &int(0) e = a.data + y * a.maxx + x *e = newval - _ = e // TODO compiler bug, this is not necessary } }