aboutsummaryrefslogtreecommitdiffstats
path: root/defererr.go
diff options
context:
space:
mode:
Diffstat (limited to 'defererr.go')
-rw-r--r--defererr.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/defererr.go b/defererr.go
index 96c5569..126f824 100644
--- a/defererr.go
+++ b/defererr.go
@@ -81,6 +81,9 @@ func checkFunctions(pass *analysis.Pass, node ast.Node) {
for i, returnVal := range funcDecl.Type.Results.List {
returnIdent, ok := returnVal.Type.(*ast.Ident)
if !ok {
+ // TODO: Do we need to `return true` here? Does this check
+ // mean that variables are not declared in the return
+ // signature?
continue
}