diff options
Diffstat (limited to 'libgo/runtime/go-map-index.c')
-rw-r--r-- | libgo/runtime/go-map-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-map-index.c b/libgo/runtime/go-map-index.c index a602d2a..499641c 100644 --- a/libgo/runtime/go-map-index.c +++ b/libgo/runtime/go-map-index.c @@ -98,7 +98,7 @@ __go_map_index (struct __go_map *map, const void *key, _Bool insert) key_descriptor = descriptor->__map_descriptor->__key_type; key_offset = descriptor->__key_offset; key_size = key_descriptor->__size; - __go_assert (key_size != 0 && key_size != -1UL); + __go_assert (key_size != -1UL); equalfn = key_descriptor->__equalfn; key_hash = key_descriptor->__hashfn (key, key_size); |