aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-10-18 09:56:34 -0400
committerRuss Cox <rsc@golang.org>2011-10-18 09:56:34 -0400
commit313c8224d5e16fe554252aeaa11365e33c35b87b (patch)
tree656f3f3d1503c7a3fb1ac90ce1b5088fd703db78 /src/pkg/debug
parent7242052bc71f02734b1902f13c490f1791df1c76 (diff)
downloadgo-313c8224d5e16fe554252aeaa11365e33c35b87b.tar.xz
gofix -r mapdelete
R=golang-dev, r, adg, r, cw CC=golang-dev https://golang.org/cl/5266045
Diffstat (limited to 'src/pkg/debug')
-rw-r--r--src/pkg/debug/dwarf/type.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/debug/dwarf/type.go b/src/pkg/debug/dwarf/type.go
index f35365ebeb..9fa221b090 100644
--- a/src/pkg/debug/dwarf/type.go
+++ b/src/pkg/debug/dwarf/type.go
@@ -579,6 +579,6 @@ Error:
// If the parse fails, take the type out of the cache
// so that the next call with this offset doesn't hit
// the cache and return success.
- d.typeCache[off] = nil, false
+ delete(d.typeCache, off)
return nil, err
}