From cafcb5646a664b786153c683c50cb680f2747550 Mon Sep 17 00:00:00 2001 From: ross-spencer Date: Thu, 21 Nov 2024 12:17:56 +0100 Subject: [PATCH] Remove unused parameter --- datacopier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacopier.go b/datacopier.go index 630a5eb..1ba8165 100644 --- a/datacopier.go +++ b/datacopier.go @@ -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) {