Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dbcd232

Browse files
committed
Removed useless pointer parameter
1 parent 415c711 commit dbcd232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎internal/arduino/libraries/loader.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func addExamples(lib *Library) error {
171171
if !file.IsDir() {
172172
continue
173173
}
174-
if err := addExamplesToPathList(file, &examples); err != nil {
174+
if err := addExamplesToPathList(file, examples); err != nil {
175175
return err
176176
}
177177
break
@@ -181,7 +181,7 @@ func addExamples(lib *Library) error {
181181
return nil
182182
}
183183

184-
func addExamplesToPathList(examplesPath *paths.Path, list *paths.PathList) error {
184+
func addExamplesToPathList(examplesPath *paths.Path, list paths.PathList) error {
185185
files, err := examplesPath.ReadDirRecursiveFiltered(nil, paths.AndFilter(paths.FilterDirectories(), filterExamplesDirs))
186186
if err != nil {
187187
return err

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /