mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 11:42:44 +00:00
Remove redundant returns
This commit is contained in:
parent
ca6698b8a1
commit
ccb5e7f656
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user