Skip to content

Commit a17a626

Browse files
authored
Remove unreachable and duplicated return statement
I’m confident blame will show I am at fault here, not sure how I missed it, and why `go vet` didn’t catch it either.
1 parent dcfc1d5 commit a17a626

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/encoding/ssh/filexfer/attrs.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ func (a *Attributes) SetPermissions(perms FileMode) {
7474
// GetACModTime returns the ATime and MTime fields and a bool that is true if and only if the values are valid/defined.
7575
func (a *Attributes) GetACModTime() (atime, mtime uint32, ok bool) {
7676
return a.ATime, a.MTime, a.Flags&AttrACModTime != 0
77-
return a.ATime, a.MTime, a.Flags&AttrACModTime != 0
7877
}
7978

8079
// SetACModTime is a convenience function that sets the ATime and MTime fields,

0 commit comments

Comments
 (0)