1
0
mirror of https://github.com/golang/go synced 2024-11-17 14:14:56 -07:00

cmd/internal/dwarf: remove redundant break statement

Change-Id: I20956187e925ef6ab35d23b23c40bbb0ee55ef4a
Reviewed-on: https://go-review.googlesource.com/c/go/+/436702
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
cuiweixie 2022-09-29 20:50:36 +08:00 committed by Gopher Robot
parent d547ae2a8e
commit 1f15838392

View File

@ -1592,7 +1592,6 @@ func determineVarAbbrev(v *Var, fnabbrev int) (int, bool, bool) {
switch fnabbrev {
case DW_ABRV_FUNCTION, DW_ABRV_WRAPPER:
concrete = false
break
case DW_ABRV_FUNCTION_CONCRETE, DW_ABRV_WRAPPER_CONCRETE:
// If we're emitting a concrete subprogram DIE and the variable
// in question is not part of the corresponding abstract function DIE,