Skip to content

Commit 164de51

Browse files
committed
cleanup: remove dead code
1 parent b48469f commit 164de51

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/falcon/extractor.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,6 @@ func remove(a []string, i int) []string {
125125
return a
126126
}
127127

128-
func removeFinding(a []UserDeviceFinding, i int) []UserDeviceFinding {
129-
a[i] = a[len(a)-1] // Copy last element to index i.
130-
a[len(a)-1] = UserDeviceFinding{} // Erase last element (write zero value).
131-
a = a[:len(a)-1] // Truncate slice.
132-
return a
133-
}
134-
135128
func GetMessages(config *config.Config, ctx context.Context) (results map[string]FalconResult, err error) {
136129
falconAPIMaxRecords := int64(400)
137130

0 commit comments

Comments
 (0)