From ced30ed4b498c34b9aaf69bdcae12f3cedb43af8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Oct 2019 17:00:48 +0200 Subject: Fix unused parameter warnings --- zix/trie.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'zix/trie.c') diff --git a/zix/trie.c b/zix/trie.c index 0c90601..9942206 100644 --- a/zix/trie.c +++ b/zix/trie.c @@ -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; -- cgit v1.2.1