1
0
mirror of https://github.com/janet-lang/janet synced 2025-05-29 12:44:11 +00:00

Fix MSVC warning.

This commit is contained in:
Calvin Rose 2021-01-03 11:47:29 -06:00
parent 47bb7fd21b
commit 9760cf1f4e

View File

@ -427,9 +427,11 @@ static int janet_proc_mark(void *p, size_t s) {
} }
#ifdef JANET_EV #ifdef JANET_EV
JANET_NO_RETURN static JANET_NO_RETURN void
#else
static Janet
#endif #endif
static Janet os_proc_wait_impl(JanetProc *proc) { os_proc_wait_impl(JanetProc *proc) {
if (proc->flags & (JANET_PROC_WAITED | JANET_PROC_WAITING)) { if (proc->flags & (JANET_PROC_WAITED | JANET_PROC_WAITING)) {
janet_panicf("cannot wait twice on a process"); janet_panicf("cannot wait twice on a process");
} }