Skip to content

Commit

Permalink
remove unused fxn.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Jul 31, 2023
1 parent 6b28362 commit dfef6e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ func filterDetectors(filterFunc func(detectors.Detector) bool, input []detectors
return output
}

func (e *Engine) setFoundResults() {
atomic.StoreUint32(&e.numFoundResults, 1)
}

// HasFoundResults returns true if any results are found.
func (e *Engine) HasFoundResults() bool {
return atomic.LoadUint32(&e.numFoundResults) > 0
Expand Down

0 comments on commit dfef6e5

Please sign in to comment.