From 12815430ec7f4bd8628b3ffd6a544958834be0cf Mon Sep 17 00:00:00 2001 From: JanHoefelmeyer Date: Wed, 23 Aug 2023 13:22:28 +0200 Subject: [PATCH] Remove superflous reset of temporary variable --- cmd/csaf_checker/processor.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/csaf_checker/processor.go b/cmd/csaf_checker/processor.go index ef9cbdd..b4fc79b 100644 --- a/cmd/csaf_checker/processor.go +++ b/cmd/csaf_checker/processor.go @@ -1143,11 +1143,6 @@ func (p *processor) checkMissing(string) error { if mistake&listingMask != 0 { p.badDirListings.error("%s %s", f, strings.Join(where, ", ")) } - // reset mistake - mistake &= rolieMask - mistake &= indexMask - mistake &= changesMask - mistake &= listingMask } return nil }