From d301477f1aba66d5f0996da7a610e703d34837c1 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 19 Apr 2015 02:49:50 -0300 Subject: trie: removed useless brackets --- src/utils/trie.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/utils/trie.c b/src/utils/trie.c index e0ac1af..f3933a3 100644 --- a/src/utils/trie.c +++ b/src/utils/trie.c @@ -82,9 +82,8 @@ b_trie_insert(b_trie_t *trie, const char *key, void *data) parent = tmp; - if (previous == NULL || parent != NULL) { + if (previous == NULL || parent != NULL) goto clean; - } current = b_malloc(sizeof(b_trie_node_t)); current->key = *key; -- cgit v1.2.3-18-g5258