mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-28 16:01:00 +08:00
runtime: remove use of obsolete map deletion syntax
The use of this syntax was eliminated upstream in Go 992248b2adc2, but this particular use slipped through somehow. From-SVN: r209506
This commit is contained in:
parent
e315e8a5b9
commit
e8ad3ca026
@ -153,7 +153,7 @@ func (m *mmapper) Munmap(data []byte) (err error) {
|
||||
if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
|
||||
return errno
|
||||
}
|
||||
m.active[p] = nil, false
|
||||
delete(m.active, p)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user