1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unnecessary ignore warnings.

This commit is contained in:
Samuel Williams 2022-05-26 15:06:21 +12:00
parent 946e3bbdc2
commit 2556e15d75
Notes: git 2022-05-26 13:52:13 +09:00

6
cont.c
View file

@ -1266,10 +1266,7 @@ show_vm_pcs(const rb_control_frame_t *cfp,
}
}
#endif
COMPILER_WARNING_PUSH
#ifdef __clang__
COMPILER_WARNING_IGNORED(-Wduplicate-decl-specifier)
#endif
static VALUE
cont_capture(volatile int *volatile stat)
{
@ -1334,7 +1331,6 @@ cont_capture(volatile int *volatile stat)
return contval;
}
}
COMPILER_WARNING_POP
static inline void
cont_restore_thread(rb_context_t *cont)