mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 05:54:43 +02:00
build: remove unused code spotted by the deadcode linter
This commit is contained in:
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user