mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
examples: remove unneeded workaround (#12336)
This commit is contained in:
parent
a7d4236337
commit
612e742c1f
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue