Adjust function style [ci skip]
This commit is contained in:
parent
5944a31614
commit
607cd24128
4
hash.c
4
hash.c
@ -4887,9 +4887,7 @@ has_env_with_lock(const char *name)
|
|||||||
static const char TZ_ENV[] = "TZ";
|
static const char TZ_ENV[] = "TZ";
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
get_env_cstr(
|
get_env_cstr(VALUE str, const char *name)
|
||||||
VALUE str,
|
|
||||||
const char *name)
|
|
||||||
{
|
{
|
||||||
char *var;
|
char *var;
|
||||||
rb_encoding *enc = rb_enc_get(str);
|
rb_encoding *enc = rb_enc_get(str);
|
||||||
|
3
vm.c
3
vm.c
@ -2291,7 +2291,8 @@ struct rb_vm_exec_context {
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
vm_exec_enter_vm_loop(rb_execution_context_t *ec, struct rb_vm_exec_context *ctx,
|
vm_exec_enter_vm_loop(rb_execution_context_t *ec, struct rb_vm_exec_context *ctx,
|
||||||
struct rb_vm_tag *_tag, bool skip_first_ex_handle) {
|
struct rb_vm_tag *_tag, bool skip_first_ex_handle)
|
||||||
|
{
|
||||||
if (skip_first_ex_handle) {
|
if (skip_first_ex_handle) {
|
||||||
goto vm_loop_start;
|
goto vm_loop_start;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user