diff options
| author | Shulhan <ms@kilabit.info> | 2023-04-10 20:28:33 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-04-13 01:31:08 +0700 |
| commit | 3c0cecd3459400f7582607a7f2edec54060bf57b (patch) | |
| tree | 35b690749fb65aa93816b79137b683730ab23687 /lib/bytes | |
| parent | 2409f21063c5aeff7fc8cf4ba703ee07bd797bee (diff) | |
| download | pakakeh.go-3c0cecd3459400f7582607a7f2edec54060bf57b.tar.xz | |
lib/bytes: fix linter warnings from revive
Diffstat (limited to 'lib/bytes')
| -rw-r--r-- | lib/bytes/bytes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bytes/bytes.go b/lib/bytes/bytes.go index d3e1022a..28a35fa1 100644 --- a/lib/bytes/bytes.go +++ b/lib/bytes/bytes.go @@ -443,7 +443,7 @@ func ReadHexByte(data []byte, x int) (b byte, ok bool) { if len(data) < x+2 { return 0, false } - var y int = 4 + var y = 4 for y >= 0 { switch { case data[x] >= '0' && data[x] <= '9': |
