forked from TrueCloudLab/rclone
build: remove unused code spotted by the deadcode linter
This commit is contained in:
parent
cb5bd47e61
commit
1320e84bc2
18 changed files with 15 additions and 134 deletions
7
backend/cache/storage_persistent.go
vendored
7
backend/cache/storage_persistent.go
vendored
|
@ -1070,10 +1070,3 @@ func itob(v int64) []byte {
|
|||
func btoi(d []byte) int64 {
|
||||
return int64(binary.BigEndian.Uint64(d))
|
||||
}
|
||||
|
||||
// cloneBytes returns a copy of a given slice.
|
||||
func cloneBytes(v []byte) []byte {
|
||||
var clone = make([]byte, len(v))
|
||||
copy(clone, v)
|
||||
return clone
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue