From e6f4bf95f20f30eb3fcb1c8e5f119d7610b006e3 Mon Sep 17 00:00:00 2001 From: mewmew Date: Sun, 27 May 2018 14:18:49 +0200 Subject: [PATCH] frame: remove unused constant t1 used in UTF-8 decoding frame/utf8.go:11:2: `t1` is unused (deadcode) t1 = 0x00 // 0000 0000 Updates #25. --- frame/utf8.go | 1 - 1 file changed, 1 deletion(-) diff --git a/frame/utf8.go b/frame/utf8.go index eb10c40..3d27df2 100644 --- a/frame/utf8.go +++ b/frame/utf8.go @@ -8,7 +8,6 @@ import ( ) const ( - t1 = 0x00 // 0000 0000 tx = 0x80 // 1000 0000 t2 = 0xC0 // 1100 0000 t3 = 0xE0 // 1110 0000