aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/plan9obj/file.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/debug/plan9obj/file.go b/src/debug/plan9obj/file.go
index 0c33fa10bb..aa03429624 100644
--- a/src/debug/plan9obj/file.go
+++ b/src/debug/plan9obj/file.go
@@ -216,8 +216,7 @@ func walksymtab(data []byte, ptrsz int, fn func(sym) error) error {
p = p[4:]
}
- var typ byte
- typ = p[0] & 0x7F
+ typ := p[0] & 0x7F
s.typ = typ
p = p[1:]