mirror of
https://github.com/janet-lang/janet
synced 2024-11-18 06:34:48 +00:00
Get rid of disabled tracing. #1005
This commit is contained in:
parent
79c375b1af
commit
f4bbcdcbc8
@ -437,8 +437,6 @@ static Janet cfun_io_print_impl_x(int32_t argc, Janet *argv, int newline,
|
||||
if (newline)
|
||||
janet_buffer_push_u8(buf, '\n');
|
||||
Janet args[1] = { janet_wrap_buffer(buf) };
|
||||
/* Disable tracing */
|
||||
fun->gc.flags &= ~JANET_FUNCFLAG_TRACE;
|
||||
janet_call(fun, 1, args);
|
||||
return janet_wrap_nil();
|
||||
}
|
||||
@ -554,8 +552,6 @@ static Janet cfun_io_printf_impl_x(int32_t argc, Janet *argv, int newline,
|
||||
janet_buffer_format(buf, fmt, offset, argc, argv);
|
||||
if (newline) janet_buffer_push_u8(buf, '\n');
|
||||
Janet args[1] = { janet_wrap_buffer(buf) };
|
||||
/* Disable tracing */
|
||||
fun->gc.flags &= ~JANET_FUNCFLAG_TRACE;
|
||||
janet_call(fun, 1, args);
|
||||
return janet_wrap_nil();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user