fix some linter warnings

This commit is contained in:
Lucas Clemente
2016-08-23 12:24:33 +02:00
parent d1d53beaa8
commit 126db938d0
7 changed files with 10 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ var (
func (i ErrorCode) String() string {
switch {
case 1 <= i && i <= 14:
i -= 1
i--
return _ErrorCode_name_0[_ErrorCode_index_0[i]:_ErrorCode_index_0[i+1]]
case 16 <= i && i <= 20:
i -= 16