From 2556e15d7520913119175c8166b1f9d17eb33415 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 26 May 2022 15:06:21 +1200 Subject: Remove unnecessary ignore warnings. --- cont.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cont.c') diff --git a/cont.c b/cont.c index fba292ae9d..38f5ceca4e 100644 --- a/cont.c +++ b/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) -- cgit v1.2.1