]> Cypherpunks.ru repositories - nncp.git/commitdiff
Unnecessary _ =
authorSergey Matveev <stargrave@stargrave.org>
Thu, 23 Jan 2020 11:43:06 +0000 (14:43 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 23 Jan 2020 11:43:06 +0000 (14:43 +0300)
src/sp.go

index 94b37ff624893f8560a7d4b0f1f0f3ed827c4eff..cff83854813969028ff991104824f3aa0a19ad4d 100644 (file)
--- a/src/sp.go
+++ b/src/sp.go
@@ -226,11 +226,11 @@ func (state *SPState) SetDead() {
        }
        close(state.isDead)
        go func() {
-               for _ = range state.payloads {
+               for range state.payloads {
                }
        }()
        go func() {
-               for _ = range state.pings {
+               for range state.pings {
                }
        }()
 }