mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-03 07:56:42 -05:00
fix lint warnings
This commit is contained in:
parent
e3508fffc6
commit
8f6e162142
@ -56,7 +56,7 @@ func freeBytes(b []byte) {
|
|||||||
b = b[0:cap(b)]
|
b = b[0:cap(b)]
|
||||||
for i := numPools - 1; i >= 0; i-- {
|
for i := numPools - 1; i >= 0; i-- {
|
||||||
if size >= poolSize[i] {
|
if size >= poolSize[i] {
|
||||||
pool[i].Put(b)
|
pool[i].Put(b) // nolint: megacheck
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user