mirror of
https://github.com/restic/restic.git
synced 2025-12-12 06:51:51 +00:00
Rename unused parameters to '_'.
This commit is contained in:
@@ -14,7 +14,7 @@ type noopSaver struct{}
|
||||
func (n *noopSaver) Connections() uint {
|
||||
return 2
|
||||
}
|
||||
func (n *noopSaver) SaveUnpacked(ctx context.Context, t restic.FileType, buf []byte) (restic.ID, error) {
|
||||
func (n *noopSaver) SaveUnpacked(_ context.Context, _ restic.FileType, buf []byte) (restic.ID, error) {
|
||||
return restic.Hash(buf), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user