Skip to content

Commit 612e742

Browse files
authored
examples: remove unneeded workaround (#12336)
1 parent a7d4236 commit 612e742

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/game_of_life/modules/automaton/automaton.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pub fn (a &A2D) set(x int, y int, newval int) {
2323
mut e := &int(0)
2424
e = a.data + y * a.maxx + x
2525
*e = newval
26-
_ = e // TODO compiler bug, this is not necessary
2726
}
2827
}
2928

0 commit comments

Comments
 (0)