Rename unused parameters to '_'.

This commit is contained in:
Martin Smith
2025-02-28 19:52:43 +00:00
parent 29b4680873
commit 3788605127
12 changed files with 17 additions and 17 deletions

View File

@@ -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
}