mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
10 lines
98 B
Go
10 lines
98 B
Go
package main
|
|
|
|
type counter struct {
|
|
val int
|
|
}
|
|
|
|
func (w counter) reset() {
|
|
w.val = 0 // NOT OK
|
|
}
|