Fix nosec comments

This commit is contained in:
Nicola Asuni
2016-12-04 13:32:12 +00:00
parent 1ee5814329
commit 811594f91a
5 changed files with 19 additions and 19 deletions

View File

@@ -9,6 +9,6 @@ import "C"
func getThreadID() uintptr {
// Darwin lacks a meaningful version of gettid() so instead we use
// ptread_self() as a proxy.
// nosec
// #nosec
return uintptr(unsafe.Pointer(C.pthread_self()))
}