aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/trie.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-19 02:49:50 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-19 02:49:50 -0300
commitd301477f1aba66d5f0996da7a610e703d34837c1 (patch)
tree551b23463b63e427eba67d5f1f73edde897cc336 /src/utils/trie.c
parent8f4cba86a56cd69d95b07dda7e002f33cbe6ba62 (diff)
downloadblogc-d301477f1aba66d5f0996da7a610e703d34837c1.tar.gz
blogc-d301477f1aba66d5f0996da7a610e703d34837c1.tar.bz2
blogc-d301477f1aba66d5f0996da7a610e703d34837c1.zip
trie: removed useless brackets
Diffstat (limited to 'src/utils/trie.c')
-rw-r--r--src/utils/trie.c3
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;