From f2a87d34f6469af1715608412fc5454e177d0901 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Wed, 20 Dec 2017 18:28:21 +0100 Subject: Refactor a bit the sp_tree implementation --- src/sp_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_tree.c') diff --git a/src/sp_tree.c b/src/sp_tree.c index 328a919..55b6ff4 100644 --- a/src/sp_tree.c +++ b/src/sp_tree.c @@ -15,6 +15,6 @@ sp_tree *sp_tree_new() { sp_tree *new = pecalloc(sizeof(sp_tree), 1, 1); new->next = new->idx = NULL; new->value = NULL; - new->type = 0; + new->type = UNDEFINED; return new; } -- cgit v1.3