about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--executor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/executor.c b/executor.c
index 0542a9c..5806981 100644
--- a/executor.c
+++ b/executor.c
@@ -251,10 +251,9 @@ enum cccl_ExecutorStatus cccl_execute(struct cccl_Node *code, struct cccl_Variab
     } break;
     case cccl_Node_INFINITE:
     {
-        short *p;
+        short n = 1, *p;
         if (code->value == '_')
         {
-            short n = 1;
             p = &n;
         } else
         {