aboutsummaryrefslogtreecommitdiff
path: root/lib/dyn_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dyn_tree.c')
-rw-r--r--lib/dyn_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dyn_tree.c b/lib/dyn_tree.c
index 095d379..6cb456b 100644
--- a/lib/dyn_tree.c
+++ b/lib/dyn_tree.c
@@ -9,7 +9,6 @@
#define RDB_REC_DEF_SIZE 2
#define RDB_REC_MULTIPLY 2
-#define REAL_STRLEN(str) (strlen(str) + 1)
dt_err dtree_malloc(dtree *(*data))
{
@@ -42,6 +41,7 @@ dt_err dtree_resettype(dtree *data)
/* Set the data type to unset */
data->type = UNSET;
+ data->encset = DYNTREE_ENCODE_NONE;
data->size = 0;
data->used = 0;