summaryrefslogtreecommitdiff
path: root/src/native.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/native.c')
-rw-r--r--src/native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native.c b/src/native.c
index 53927ad..b8cde3d 100644
--- a/src/native.c
+++ b/src/native.c
@@ -111,7 +111,7 @@ void pit_repl(pit_runtime *rt) {
bufcap *= 2;
buf = realloc(buf, bufcap);
}
- pit_value res;
+ pit_value res = PIT_NIL;
pit_lexer lex;
pit_parser parse;
bool eof = false;