diff options
Diffstat (limited to 'src/compiler.c')
-rw-r--r-- | src/compiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler.c b/src/compiler.c index f9d9355..eac51ba 100644 --- a/src/compiler.c +++ b/src/compiler.c @@ -294,11 +294,11 @@ static CHECK_RESULT int thread_generate_bytecode(Parser *parser) { } static int thread_callback_generic(void *userdata) { - int result; + int result = -1; CompilerGenericThreadUserData *compiler_userdata = userdata; switch(compiler_userdata->work_type) { case THREAD_WORK_PARSE: { - assert(bool_false && "Thread work type can't be 'parse' for generic work"); + check(bool_false && "Thread work type can't be 'parse' for generic work"); break; } case THREAD_WORK_RESOLVE_AST: |