From 1f1583839227ebe9adc5979e355bde7a20e00405 Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Thu, 29 Sep 2022 20:50:36 +0800 Subject: [PATCH] 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 TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Auto-Submit: Ian Lance Taylor --- src/cmd/internal/dwarf/dwarf.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cmd/internal/dwarf/dwarf.go b/src/cmd/internal/dwarf/dwarf.go index 18800f7948e..045fc9c2633 100644 --- a/src/cmd/internal/dwarf/dwarf.go +++ b/src/cmd/internal/dwarf/dwarf.go @@ -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,