Skip to content

Commit 9860708

Browse files
committed
Remove duplicated return statement from llvmjit code.
The duplicated return clearly doesn't make sense / isn't reachable. Likely introduced by me (Andres), while revising the code. Author: Rushabh Lathia Discussion: https://postgr.es/m/CAGPqQf2raxWOcbuTP36M1rEF3=Rfo7oD29K3psdyHMeE5swBRg@mail.gmail.com
1 parent 0fcf5e0 commit 9860708

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/jit/llvm/llvmjit.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ llvm_function_reference(LLVMJitContext *context,
394394
LLVMSetGlobalConstant(v_fn, true);
395395

396396
return LLVMBuildLoad(builder, v_fn, "");
397-
return v_fn;
398397
}
399398

400399
/* check if function already has been added */

0 commit comments

Comments
 (0)