mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: remove unneeded workaround (#12336)
This commit is contained in:
parent
a7d4236337
commit
612e742c1f
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user