mirror of
https://github.com/restic/restic.git
synced 2025-10-09 19:10:25 +00:00
Remove unused vars and const
This commit is contained in:
@@ -15,7 +15,6 @@ var (
|
||||
)
|
||||
|
||||
var (
|
||||
newHash = sha256.New
|
||||
hashData = sha256.Sum256
|
||||
)
|
||||
|
||||
|
@@ -19,10 +19,9 @@ import (
|
||||
var ErrWrongData = errors.New("wrong data returned by backend, checksum does not match")
|
||||
|
||||
type Local struct {
|
||||
p string
|
||||
ver uint
|
||||
name string
|
||||
id string
|
||||
p string
|
||||
ver uint
|
||||
id string
|
||||
}
|
||||
|
||||
// Open opens the local backend at dir.
|
||||
|
Reference in New Issue
Block a user