diff options
author | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
commit | e940edc7a026293153ba09ece40e8092a2fc2463 (patch) | |
tree | c94a425c84b7a48f91a5d76a222effad70c9a88c /src/pkg/debug/dwarf/const.go | |
parent | e067f862f1774ab89a2096a88571a94e3b9cd353 (diff) | |
download | golang-e940edc7a026293153ba09ece40e8092a2fc2463.tar.gz |
remove semis after statements in one-statement statement lists
R=rsc, r
http://go/go-review/1025029
Diffstat (limited to 'src/pkg/debug/dwarf/const.go')
-rw-r--r-- | src/pkg/debug/dwarf/const.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/debug/dwarf/const.go b/src/pkg/debug/dwarf/const.go index 0b626c4b5..808a80c8a 100644 --- a/src/pkg/debug/dwarf/const.go +++ b/src/pkg/debug/dwarf/const.go @@ -165,7 +165,7 @@ func (a Attr) String() string { if int(a) < len(attrNames) { s := attrNames[a]; if s != "" { - return s; + return s } } return strconv.Itoa(int(a)); @@ -175,7 +175,7 @@ func (a Attr) GoString() string { if int(a) < len(attrNames) { s := attrNames[a]; if s != "" { - return "dwarf.Attr" + s; + return "dwarf.Attr" + s } } return "dwarf.Attr(" + strconv.Itoa64(int64(a)) + ")"; @@ -334,7 +334,7 @@ func (t Tag) String() string { if int(t) < len(tagNames) { s := tagNames[t]; if s != "" { - return s; + return s } } return strconv.Itoa(int(t)); @@ -344,7 +344,7 @@ func (t Tag) GoString() string { if int(t) < len(tagNames) { s := tagNames[t]; if s != "" { - return "dwarf.Tag" + s; + return "dwarf.Tag" + s } } return "dwarf.Tag(" + strconv.Itoa64(int64(t)) + ")"; |