Remove redundant returns

This commit is contained in:
Craig Davison 2024-12-31 15:26:24 -07:00
parent ca6698b8a1
commit ccb5e7f656

View File

@ -2182,9 +2182,6 @@ func unwrapAll(err error) (errs []error) {
for _, err := range x.Unwrap() { for _, err := range x.Unwrap() {
errs = append(errs, unwrapAll(err)...) errs = append(errs, unwrapAll(err)...)
} }
return
default:
return
} }
return return
} }