Cosmetic fixes.
This commit is contained in:
parent
37af2a4b27
commit
c2d800d607
|
@ -50,6 +50,9 @@ func %s() []byte {`, funcname, funcname)
|
|||
|
||||
if uncompressed {
|
||||
fmt.Fprintf(output, `
|
||||
// This bit of black magic ensures we do not get
|
||||
// unneccesary memcpy's and can read directly from
|
||||
// the .rodata section.
|
||||
var empty [0]byte
|
||||
sx := (*reflect.StringHeader)(unsafe.Pointer(&_%s))
|
||||
b := empty[:]
|
||||
|
|
Loading…
Reference in New Issue
Block a user