Skip to content

Commit

Permalink
for staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx committed Oct 9, 2020
1 parent ba4e47d commit 76ac3b7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion proxy/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ var (
redirMux sync.Mutex
mixedMux sync.Mutex
ssMux sync.Mutex
tunMux sync.Mutex
tcpTunMux sync.Mutex
udpTunMux sync.Mutex
)
Expand Down
1 change: 0 additions & 1 deletion proxy/shadowsocks/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func (c *packet) LocalAddr() net.Addr {

func (c *packet) Drop() {
pool.Put(c.bufRef)
return
}

func parseSSURL(s string) (addr, cipher, password string, err error) {
Expand Down
1 change: 0 additions & 1 deletion proxy/tunnel/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ func (c *packet) LocalAddr() net.Addr {

func (c *packet) Drop() {
pool.Put(c.bufRef)
return
}

0 comments on commit 76ac3b7

Please sign in to comment.