commit | 591188049fb5fc647481c1486e4d58de6ac566e3 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Oct 04 16:00:26 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Oct 04 16:00:26 2023 +0200 |
tree | 4a476c78f08c93462a54f2cc290272f260e97a83 | |
parent | b42b8f54a90a608127bedeb0ae0018466c4f4797 [diff] |
hash table REFACTOR use return value
diff --git a/src/hash_table.c b/src/hash_table.c index fd88e3d..3d8d5f2 100644 --- a/src/hash_table.c +++ b/src/hash_table.c
@@ -404,7 +404,8 @@ ret = lyht_resize(ht, 1, check); /* if hash_table was resized, we need to find new matching value */ if ((ret == LY_SUCCESS) && match_p) { - lyht_find(ht, val_p, hash, match_p); + ret = lyht_find(ht, val_p, hash, match_p); + assert(!ret); } if (resize_val_equal) {