Browse Source

Replace "goto label" with "continue label"

pull/8/head
Daniel Martí 11 years ago
parent
commit
3ef17d82ee
  1. 4
      cmd/fdroidcl/main.go

4
cmd/fdroidcl/main.go

@ -16,14 +16,14 @@ import (
) )
func appMatches(fields []string, terms []string) bool { func appMatches(fields []string, terms []string) bool {
fieldLoop:
for _, field := range fields { for _, field := range fields {
for _, term := range terms { for _, term := range terms {
if !strings.Contains(field, term) { if !strings.Contains(field, term) {
goto next continue fieldLoop
} }
} }
return true return true
next:
} }
return false return false
} }

Loading…
Cancel
Save