all: implement staticcheck suggestions

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-07-19 10:47:17 +02:00
parent 39fd161bea
commit 6ab43aba3e
5 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ import (
// use some global variables for benchmarking so as to not pollute
// the reported allocs with allocations that we do not want to count.
var (
c1, c2, c3 = make(chan op.CallOp, 0), make(chan op.CallOp, 0), make(chan op.CallOp, 0)
c1, c2, c3 = make(chan op.CallOp), make(chan op.CallOp), make(chan op.CallOp)
op1, op2, op3 op.Ops
)