From cda6999639e159fa7bb85307995578fa6f92f5a6 Mon Sep 17 00:00:00 2001 From: saxon Date: Tue, 8 Jan 2019 20:06:07 +1030 Subject: [PATCH] psi: not using named byte in asByte --- stream/mts/psi/psi.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stream/mts/psi/psi.go b/stream/mts/psi/psi.go index 3ad8ab93..c9c6b4bb 100644 --- a/stream/mts/psi/psi.go +++ b/stream/mts/psi/psi.go @@ -291,9 +291,9 @@ func (e *ESSD) Bytes() []byte { return out } -func asByte(b bool) (o byte) { +func asByte(b bool) byte { if b { - o = 0x01 + return 0x01 } - return + return 0x00 }