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
1 changed files with 5 additions and 6 deletions

View File

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