diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-19 02:49:50 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-19 02:49:50 -0300 |
commit | d301477f1aba66d5f0996da7a610e703d34837c1 (patch) | |
tree | 551b23463b63e427eba67d5f1f73edde897cc336 /src/utils | |
parent | 8f4cba86a56cd69d95b07dda7e002f33cbe6ba62 (diff) | |
download | blogc-d301477f1aba66d5f0996da7a610e703d34837c1.tar.gz blogc-d301477f1aba66d5f0996da7a610e703d34837c1.tar.bz2 blogc-d301477f1aba66d5f0996da7a610e703d34837c1.zip |
trie: removed useless brackets
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/trie.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |