1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-26 20:15:26 -05:00

clean lint warnings

This commit is contained in:
Darien Raymond
2017-02-20 10:33:35 +01:00
parent 7a97d73737
commit bf7906c7f0
7 changed files with 13 additions and 14 deletions

View File

@@ -118,7 +118,7 @@ func getDefaultPoolSize() uint32 {
}
func init() {
var size uint32 = getDefaultPoolSize()
size := getDefaultPoolSize()
sizeStr := os.Getenv(poolSizeEnvKey)
if len(sizeStr) > 0 {
customSize, err := strconv.ParseUint(sizeStr, 10, 32)