Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions network/bcast/bcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func Transmitter(port int, chans ...interface{}) {
checkArgs(chans...)

n := 0
for range chans {
for _,_ = range chans {
n++
}

Expand Down Expand Up @@ -73,7 +73,7 @@ func Receiver(port int, chans ...interface{}) {
// so the tests on element type are hand-copied from `encoding/json/encode.go`
func checkArgs(chans ...interface{}) {
n := 0
for range chans {
for _,_ = range chans {
n++
}
elemTypes := make([]reflect.Type, n)
Expand Down