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
1 changed files with 1 additions and 5 deletions

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)