Skip to content

Commit 6372a84

Browse files
committed
Remove superfluous break statement
1 parent d64847f commit 6372a84

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

errorlint/analysis.go

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ func (info *TypesInfoExt) ContainingFuncDecl(node ast.Node) *ast.FuncDecl {
105105
}
106106
if fun, ok := parent.(*ast.FuncDecl); ok {
107107
return fun
108-
break
109108
}
110109
}
111110
return nil

0 commit comments

Comments
 (0)