Various code cleanups (#8889)

This commit is contained in:
terence tsao
2021-05-12 23:29:14 -07:00
committed by GitHub
parent 4ef5c9ad15
commit bc27a73600
14 changed files with 22 additions and 36 deletions

View File

@@ -342,7 +342,7 @@ func (bld *builder) swtch(stmt ast.Stmt, cases []ast.Stmt) {
}
}
parents := []*block{}
var parents []*block
if c.List != nil {
parents = append(parents, list)
}