Skip to content

Commit

Permalink
Remove unnecessary ignore warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed May 26, 2022
1 parent 946e3bb commit 2556e15
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cont.c
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2556e15

Please sign in to comment.