alingse / sundrylint

three thousand real world bug linter
MIT License
5 stars 0 forks source link

call strconv.AppendX but not keep func result #6

Closed alingse closed 4 months ago

alingse commented 5 months ago

case

func Do() {
        var b = make([]byte, 3)
    var c int64 = 1234567
    strconv.AppendInt(b, c, 10) 
}
github-actions[bot] commented 5 months ago

Run sundrylint on Repo: https://github.com/grafana/k6

Got total 1 lines output in action: https://github.com/alingse/sundrylint/actions/runs/13372957463

Expand
  1. internal/log/loki.go#L476 call strconv.AppendX but not keep func result

Report issue: https://github.com/grafana/k6/issues

github-actions[bot] commented 5 months ago

Run sundrylint on Repo: https://github.com/nextdns/nextdns

Got total 1 lines output in action: https://github.com/alingse/sundrylint/actions/runs/13373058683

Expand
  1. run.go#L612 call strconv.AppendX but not keep func result

Report issue: https://github.com/nextdns/nextdns/issues

github-actions[bot] commented 5 months ago

Run sundrylint on Repo: https://github.com/dop251/goja

Got total 2 lines output in action: https://github.com/alingse/sundrylint/actions/runs/13373017214

Expand
  1. ftoa/ftostr_test.go#L82 call strconv.AppendX but not keep func result
  2. ftoa/ftostr_test.go#L90 call strconv.AppendX but not keep func result

Report issue: https://github.com/dop251/goja/issues