diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-02-12 14:49:17 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:29 -0400 |
commit | 0b8473c4b4cb8d2d70d7e0db3178f80557ea8cc7 (patch) | |
tree | 9fd48bab69f91fc376f158d3615e6301cc73d480 /ujit_asm.c | |
parent | d192b149ba5b6f0bb8222519793a59b60c637f78 (diff) |
Fix pedantic returning void
Diffstat (limited to 'ujit_asm.c')
-rw-r--r-- | ujit_asm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ujit_asm.c b/ujit_asm.c index c580414539..a67eb7f7d6 100644 --- a/ujit_asm.c +++ b/ujit_asm.c @@ -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 |