aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reflections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflections.c b/src/reflections.c
index ab626fa..1a80f71 100644
--- a/src/reflections.c
+++ b/src/reflections.c
@@ -36,8 +36,8 @@ static void reflection_addfirst(ReflectionContext *reflectionctx) {
ReflectionContext *reflection_init() {
ReflectionContext *reflectionctx = malloc(sizeof(ReflectionContext));
- reflection_addfirst(reflectionctx);
reflectionctx->n_reflections = 0;
+ reflection_addfirst(reflectionctx);
reflectionctx->list_capped = 0;
return reflectionctx;