1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-29 03:19:54 +00:00

Fix NULL ptr issue.

This commit is contained in:
Calvin Rose 2019-02-22 17:12:34 -05:00
parent b14fcb068b
commit 115bc6140b

View File

@ -496,7 +496,7 @@ static int macroexpand1(
return 0; return 0;
/* Evaluate macro */ /* Evaluate macro */
JanetFiber *fiberp; JanetFiber *fiberp = NULL;
JanetFunction *macro = janet_unwrap_function(macroval); JanetFunction *macro = janet_unwrap_function(macroval);
int lock = janet_gclock(); int lock = janet_gclock();
JanetSignal status = janet_pcall( JanetSignal status = janet_pcall(