psi: not using named byte in asByte

This commit is contained in:
saxon 2019-01-08 20:06:07 +10:30
parent fc7f5501e0
commit cda6999639
1 changed files with 3 additions and 3 deletions

View File

@ -291,9 +291,9 @@ func (e *ESSD) Bytes() []byte {
return out return out
} }
func asByte(b bool) (o byte) { func asByte(b bool) byte {
if b { if b {
o = 0x01 return 0x01
} }
return return 0x00
} }