Fri, 12 Aug 2022 16:47:11 +0200
remove unused variable (return immediately)
src/hash_map.c | file | annotate | diff | comparison | revisions |
--- a/src/hash_map.c Mon Aug 08 17:12:00 2022 +0200 +++ b/src/hash_map.c Fri Aug 12 16:47:11 2022 +0200 @@ -201,8 +201,7 @@ static void *cx_hash_map_iter_current_entry(CxIterator const *iter) { // struct has to have a compatible signature - struct cx_map_entry_s *entry = (struct cx_map_entry_s *) &(iter->kv_data); - return entry; + return (struct cx_map_entry_s *) &(iter->kv_data); } static void *cx_hash_map_iter_current_key(CxIterator const *iter) {