Remove unnecessary ignore warnings.
This commit is contained in:
parent
946e3bbdc2
commit
2556e15d75
Notes:
git
2022-05-26 13:52:13 +09:00
6
cont.c
6
cont.c
|
@ -1266,10 +1266,7 @@ show_vm_pcs(const rb_control_frame_t *cfp,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
COMPILER_WARNING_PUSH
|
|
||||||
#ifdef __clang__
|
|
||||||
COMPILER_WARNING_IGNORED(-Wduplicate-decl-specifier)
|
|
||||||
#endif
|
|
||||||
static VALUE
|
static VALUE
|
||||||
cont_capture(volatile int *volatile stat)
|
cont_capture(volatile int *volatile stat)
|
||||||
{
|
{
|
||||||
|
@ -1334,7 +1331,6 @@ cont_capture(volatile int *volatile stat)
|
||||||
return contval;
|
return contval;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
COMPILER_WARNING_POP
|
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
cont_restore_thread(rb_context_t *cont)
|
cont_restore_thread(rb_context_t *cont)
|
||||||
|
|
Loading…
Reference in New Issue