Merge pull request #666 from Vedingrot/fix_uninitialized_var

[fix] initialize next_id by zero in trie_new_from_cstring_array function
This commit is contained in:
Al B
2025-02-08 12:48:46 -05:00
committed by GitHub

View File

@@ -85,7 +85,7 @@ trie_t *trie_new_from_cstring_array(cstring_array *strings) {
char *key;
uint32_t i;
uint32_t next_id;
uint32_t next_id = 0;
trie_t *trie = trie_new();