Fix some issues reported by staticcheck

This commit is contained in:
Kovid Goyal
2022-09-21 19:10:57 +05:30
parent d6f42a11d7
commit ef49634353
4 changed files with 4 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ var utf8_data []uint8 = []uint8{
const (
UTF8_ACCEPT UTF8State = 0
UTF8_REJECT = 1
UTF8_REJECT UTF8State = 1
)
func DecodeUtf8(state *UTF8State, codep *UTF8State, byte_ byte) UTF8State {