src/hash_map.c

changeset 573
3f3a0d19db58
parent 563
69a83fad8a35
child 574
d566bd3e6af8
     1.1 --- a/src/hash_map.c	Mon Aug 08 17:12:00 2022 +0200
     1.2 +++ b/src/hash_map.c	Fri Aug 12 16:47:11 2022 +0200
     1.3 @@ -201,8 +201,7 @@
     1.4  
     1.5  static void *cx_hash_map_iter_current_entry(CxIterator const *iter) {
     1.6      // struct has to have a compatible signature
     1.7 -    struct cx_map_entry_s *entry = (struct cx_map_entry_s *) &(iter->kv_data);
     1.8 -    return entry;
     1.9 +    return (struct cx_map_entry_s *) &(iter->kv_data);
    1.10  }
    1.11  
    1.12  static void *cx_hash_map_iter_current_key(CxIterator const *iter) {

mercurial