diff options
| author | xXx-caillou-xXx | 2017-12-20 18:28:21 +0100 |
|---|---|---|
| committer | jvoisin | 2017-12-20 18:28:21 +0100 |
| commit | f2a87d34f6469af1715608412fc5454e177d0901 (patch) | |
| tree | 0b8abb1b33f00559642429a2c561b658443837f0 /src/sp_tree.c | |
| parent | e7f541396715ee2895abcf73044b91ae9b746201 (diff) | |
Refactor a bit the sp_tree implementation
Diffstat (limited to 'src/sp_tree.c')
| -rw-r--r-- | src/sp_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
| 15 | sp_tree *new = pecalloc(sizeof(sp_tree), 1, 1); | 15 | sp_tree *new = pecalloc(sizeof(sp_tree), 1, 1); |
| 16 | new->next = new->idx = NULL; | 16 | new->next = new->idx = NULL; |
| 17 | new->value = NULL; | 17 | new->value = NULL; |
| 18 | new->type = 0; | 18 | new->type = UNDEFINED; |
| 19 | return new; | 19 | return new; |
| 20 | } | 20 | } |
