libnmdc: remove redundant bool=false initialisation (handled in $Lock callback)

This commit is contained in:
mappu 2016-04-03 18:38:43 +12:00
parent 99e4ebb842
commit e3a92da5f6

View File

@ -405,12 +405,11 @@ func (this *HubConnectionOptions) Connect() *HubConnection {
} }
hc := HubConnection{ hc := HubConnection{
Hco: this, Hco: this,
HubName: "(unknown)", HubName: "(unknown)",
State: CONNECTIONSTATE_DISCONNECTED, State: CONNECTIONSTATE_DISCONNECTED,
Users: make(map[string]UserInfo), Users: make(map[string]UserInfo),
OnEvent: make(chan HubEvent, this.NumEventsToBuffer), OnEvent: make(chan HubEvent, this.NumEventsToBuffer),
sentOurHello: false,
} }
go hc.worker() go hc.worker()