diff options
author | tyltr <tylitianrui@126.com> | 2022-08-29 13:51:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 07:51:37 +0200 |
commit | 404c8a896896943715f8fb3906a8d054fae17d3e (patch) | |
tree | f321a5883c8175b4c34b285ba7fb6e5b69382a53 /bytesconv.go | |
parent | Don't use tls ClientSessionCache (diff) | |
download | fasthttp-404c8a896896943715f8fb3906a8d054fae17d3e.tar.gz fasthttp-404c8a896896943715f8fb3906a8d054fae17d3e.tar.bz2 fasthttp-404c8a896896943715f8fb3906a8d054fae17d3e.zip |
Chore (#1365)
* chore-1
* chore2
Diffstat (limited to 'bytesconv.go')
-rw-r--r-- | bytesconv.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bytesconv.go b/bytesconv.go index a12bb95..4759aa6 100644 --- a/bytesconv.go +++ b/bytesconv.go @@ -252,9 +252,7 @@ var ( ) func readHexInt(r *bufio.Reader) (int, error) { - n := 0 - i := 0 - var k int + var k, i, n int for { c, err := r.ReadByte() if err != nil { |