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:
parent
946e3bbdc2
commit
2556e15d75
Notes:
git
2022-05-26 13:52:13 +09:00
1 changed files with 1 additions and 5 deletions
6
cont.c
6
cont.c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue