9 lines
173 B
Plaintext
9 lines
173 B
Plaintext
![]() |
[source,go]
|
||
|
----
|
||
|
func compute(a int, b int) {
|
||
|
sum := a + b
|
||
|
if sum > 0 { } // Noncompliant; empty on purpose or missing piece of code?
|
||
|
fmt.Println("Result:", sum)
|
||
|
}
|
||
|
----
|