fix 3 cases of shadowed variables (other than "err")

2 of these were actual bugs.
This commit is contained in:
Mechiel Lukkien
2023-02-16 13:24:51 +01:00
parent 5c33640aea
commit c65731ac56
3 changed files with 5 additions and 4 deletions

View File

@ -126,7 +126,7 @@ func importManage() {
case e := <-importers.Events:
s, ok := imports[e.Token]
if !ok {
s := state{
s = state{
MailboxCounts: map[string]int{},
Listeners: map[*importListener]struct{}{},
Cancel: e.Cancel,