ruby-changes:71967
From: Samuel <ko1@a...>
Date: Thu, 26 May 2022 13:52:09 +0900 (JST)
Subject: [ruby-changes:71967] 2556e15d75 (master): Remove unnecessary ignore warnings.
https://git.ruby-lang.org/ruby.git/commit/?id=2556e15d75 From 2556e15d7520913119175c8166b1f9d17eb33415 Mon Sep 17 00:00:00 2001 From: Samuel Williams <samuel.williams@o...> Date: Thu, 26 May 2022 15:06:21 +1200 Subject: Remove unnecessary ignore warnings. --- cont.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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, https://github.com/ruby/ruby/blob/trunk/cont.c#L1266 } } #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) https://github.com/ruby/ruby/blob/trunk/cont.c#L1331 return contval; } } -COMPILER_WARNING_POP static inline void cont_restore_thread(rb_context_t *cont) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/