1
0
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:
Wertzui123 2021-10-30 17:49:54 +02:00 committed by GitHub
parent a7d4236337
commit 612e742c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}