Unused parameter in function RVV-B0012
Bug risk
Minor
3 occurrences in this check
parameter 'replica' seems to be unused, consider removing or renaming it as _
493	result  []*payload.Object_Distance
494}
495
496func newPairingHeap(num, replica int) Aggregator {497	return &valdPairingHeapAggr{
498		num:    num,
499		ph:     new(PairingHeap),
parameter 'ctx' seems to be unused, consider removing or renaming it as _
256}
257
258// Range calls f sequentially for each key and value present in the vqueue.
259func (v *vqueue) Range(ctx context.Context, f func(uuid string, vector []float32, ts int64) bool) {260	v.il.Range(func(uuid string, idx *index) bool {
261		if idx == nil {
262			return true
parameter 'address' seems to be unused, consider removing or renaming it as _
 96	return ctrl.controlFunc
 97}
 98
 99func (ctrl *control) controlFunc(network, address string, c syscall.RawConn) (err error) {100	return c.Control(func(fd uintptr) {
101		f := int(fd)
102		var ierr error