Skip to content

Commit 2dbe042

Browse files
committed
Removed unused function
Signed-off-by: Cristian Maglie <[email protected]>
1 parent c87c21f commit 2dbe042

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Diff for: src/arduino.cc/builder/resolve_library.go

-10
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,3 @@ func findLibWithNameContaining(name string, libraries []*types.Library) *types.L
255255
func simplifyName(name string) string {
256256
return strings.ToLower(strings.Replace(name, "_", " ", -1))
257257
}
258-
259-
// thank you golang: I can not use/recycle/adapt utils.SliceContains
260-
func sliceContainsLibrary(slice []*types.Library, target *types.Library) bool {
261-
for _, value := range slice {
262-
if value.SrcFolder == target.SrcFolder {
263-
return true
264-
}
265-
}
266-
return false
267-
}

0 commit comments

Comments
 (0)