fix: staticcheck and deadcode findings repo-wide, modernize counting loops

This commit is contained in:
2026-08-29 15:25:15 +02:00
parent 9a34733615
commit eacf33d0f7
33 changed files with 88 additions and 250 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ var wpSlots [4]bool
const maxWatchpoints = 4
func (s *Session) FindFreeWatchpointSlot() int {
for i := 0; i < maxWatchpoints; i++ {
for i := range maxWatchpoints {
if !wpSlots[i] {
return i
}