From 6799f1e8ce168a8de297413ed3e620da5be7290c Mon Sep 17 00:00:00 2001 From: Aron Wussler Date: Tue, 15 Feb 2022 11:57:30 +0100 Subject: [PATCH] Fix linter --- crypto/attachment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/attachment.go b/crypto/attachment.go index 9533256..51ea2c5 100644 --- a/crypto/attachment.go +++ b/crypto/attachment.go @@ -70,7 +70,7 @@ func (ap *AttachmentProcessor) Finish() (*PGPSplitMessage, error) { // newAttachmentProcessor creates an AttachmentProcessor which can be used to encrypt // a file. It takes an estimatedSize and fileName as hints about the file. func (keyRing *KeyRing) newAttachmentProcessor( - estimatedSize int, filename string, isBinary bool, modTime uint32, garbageCollector int, + estimatedSize int, filename string, isBinary bool, modTime uint32, garbageCollector int, //nolint:unparam ) (*AttachmentProcessor, error) { attachmentProc := &AttachmentProcessor{} // You could also add these one at a time if needed.