diff options
author | David Robillard <d@drobilla.net> | 2019-10-18 17:00:48 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-18 17:07:56 +0200 |
commit | ced30ed4b498c34b9aaf69bdcae12f3cedb43af8 (patch) | |
tree | 23e3f002821bd360018bc08ad8a879eb548640d0 /zix/trie.c | |
parent | e36a086818936d921d7303e45d6180a948ef3196 (diff) | |
download | zix-ced30ed4b498c34b9aaf69bdcae12f3cedb43af8.tar.gz zix-ced30ed4b498c34b9aaf69bdcae12f3cedb43af8.tar.bz2 zix-ced30ed4b498c34b9aaf69bdcae12f3cedb43af8.zip |
Fix unused parameter warnings
Diffstat (limited to 'zix/trie.c')
-rw-r--r-- | zix/trie.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -205,16 +205,16 @@ zix_trie_add_child(ZixTrieNode** n_ptr, } ZIX_PRIVATE ZixTrieNode** -trie_insert_tail(ZixTrieNode** n_ptr, - const uint8_t* str, - const uint8_t* first, - const size_t len) +trie_insert_tail(ZixTrieNode** n_ptr, + const uint8_t* str, + const uint8_t* first, + ZIX_UNUSED const size_t len) { assert(first[0]); ZixTrieNode* c = NULL; while (first[0]) { assert(zix_trie_node_check(*n_ptr)); - + c = realloc_node(NULL, 1); c->str = NULL; c->num_children = 0; |