Pārlūkot izejas kodu

pkg/devicemapper ignore SA4000 false positive (staticcheck)

```
pkg/devicemapper/devmapper_wrapper.go:209:206: SA4000: identical expressions on the left and right side of the '==' operator (staticcheck)
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 gadi atpakaļ
vecāks
revīzija
805452a59a
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      pkg/devicemapper/devmapper_wrapper.go

+ 1 - 0
pkg/devicemapper/devmapper_wrapper.go

@@ -206,6 +206,7 @@ func dmGetNextTargetFct(task *cdmTask, next unsafe.Pointer, start, length *uint6
 		*params = C.GoString(Cparams)
 	}()
 
+	//lint:ignore SA4000 false positive on (identical expressions on the left and right side of the '==' operator) (staticcheck)
 	nextp := C.dm_get_next_target((*C.struct_dm_task)(task), next, &Cstart, &Clength, &CtargetType, &Cparams)
 	return nextp
 }