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:
parent
47bb7fd21b
commit
9760cf1f4e
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user