]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/dwarf: remove redundant break statement
authorcuiweixie <cuiweixie@gmail.com>
Thu, 29 Sep 2022 12:50:36 +0000 (20:50 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 29 Sep 2022 23:49:14 +0000 (23:49 +0000)
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>

src/cmd/internal/dwarf/dwarf.go

index 18800f7948ef15d5b77e05bafb2523ccf06a19e2..045fc9c263303137d6800a3a6f40f68dab3fe934 100644 (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,