Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Nov 21, 2024
1 parent 0318dcf commit cafcb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datacopier.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func pldatacopy(copyfrom *int, copyto *int, list []processLog) []processLog {
// Thread safe data copy from one slice to another
// This method allows us to specify a length which may be safer for
// us in the long run...
func pldatacopylen(copyfrom *int, copyto *int, list []processLog, copylen int) []processLog {
func pldatacopylen(copyfrom *int, copyto *int, list []processLog) []processLog {
//protect memory by copying only what we know we've got
*copyto = *copyto + 1
if *copyto > 0 && *copyto > *copyfrom && *copyto <= len(list) {
Expand Down

0 comments on commit cafcb56

Please sign in to comment.