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 the offset fits in 32-bit
if (rel64 >= -2147483648 && rel64 <= 2147483647) 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 // Move the pointer into the scratch register and call