diff --git a/src/sync/map_test.go b/src/sync/map_test.go index 1eaee62523..010d75d9c8 100644 --- a/src/sync/map_test.go +++ b/src/sync/map_test.go @@ -296,7 +296,6 @@ func TestMapRangeNoAllocations(t *testing.T) { // Issue 62404 } func TestMapDelete(t *testing.T) { - var myMap sync.Map key := "go"