1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix pedantic returning void

This commit is contained in:
Alan Wu 2021-02-12 14:49:17 -05:00
parent d192b149ba
commit 0b8473c4b4

View file

@ -897,7 +897,8 @@ void call_ptr(codeblock_t* cb, x86opnd_t scratch_reg, uint8_t* dst_ptr)
// If the offset fits in 32-bit
if (rel64 >= -2147483648 && rel64 <= 2147483647)
{
return call_rel32(cb, (int32_t)rel64);
call_rel32(cb, (int32_t)rel64)
return;
}
// Move the pointer into the scratch register and call