mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix build on MSVC
Use compiler protable way of delcaring function as maybe unused.
This commit is contained in:
parent
0ebb072f9f
commit
73bcd26354
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ static codeblock_t outline_block;
|
||||||
codeblock_t* ocb = NULL;
|
codeblock_t* ocb = NULL;
|
||||||
|
|
||||||
// Print the current source location for debugging purposes
|
// Print the current source location for debugging purposes
|
||||||
static void __attribute__((unused))
|
RBIMPL_ATTR_MAYBE_UNUSED()
|
||||||
|
static void
|
||||||
jit_print_loc(jitstate_t* jit, const char* msg)
|
jit_print_loc(jitstate_t* jit, const char* msg)
|
||||||
{
|
{
|
||||||
char *ptr;
|
char *ptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue