From ccb8a52db169fe67151837e4a420bb1758e0585d Mon Sep 17 00:00:00 2001 From: Saxon Milton Date: Wed, 6 Feb 2019 05:28:57 +0000 Subject: [PATCH] revid/revid.go: removing shorthand initialisations for vars already declared --- revid/revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/revid.go b/revid/revid.go index 8968a1e5..454a3b8a 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -148,7 +148,7 @@ func (p *packer) Write(frame []byte) (int, error) { var n int var err error if len(p.owner.destination) != 0 { - n, err := p.owner.buffer.Write(frame) + n, err = p.owner.buffer.Write(frame) } // If we have an rtp sender bypass ringbuffer and give straight to sender