go/analysis/passes/cgocall: fix typo in comment
Change-Id: Ie71f93c1fa0d5e7de498ad2af611c4db8a27171d Reviewed-on: https://go-review.googlesource.com/c/148561 Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
parent
e5d4b58ff5
commit
353f99afd4
|
@ -73,7 +73,7 @@ func checkCgo(fset *token.FileSet, f *ast.File, info *types.Info, reportf func(t
|
||||||
return true // not a call we need to check
|
return true // not a call we need to check
|
||||||
}
|
}
|
||||||
|
|
||||||
// A call to C.Bytes passes a pointer but is always safe.
|
// A call to C.CBytes passes a pointer but is always safe.
|
||||||
if name == "CBytes" {
|
if name == "CBytes" {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue