aboutsummaryrefslogtreecommitdiff
path: root/lib/bytes/bytes.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-04-10 20:28:33 +0700
committerShulhan <ms@kilabit.info>2023-04-13 01:31:08 +0700
commit3c0cecd3459400f7582607a7f2edec54060bf57b (patch)
tree35b690749fb65aa93816b79137b683730ab23687 /lib/bytes/bytes.go
parent2409f21063c5aeff7fc8cf4ba703ee07bd797bee (diff)
downloadpakakeh.go-3c0cecd3459400f7582607a7f2edec54060bf57b.tar.xz
lib/bytes: fix linter warnings from revive
Diffstat (limited to 'lib/bytes/bytes.go')
-rw-r--r--lib/bytes/bytes.go2
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':