From 986070872ffaae5d9d0e39eddcc952bc261982a2 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Tue, 26 Jun 2018 23:16:50 -0700 Subject: [PATCH] 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 --- src/backend/jit/llvm/llvmjit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/jit/llvm/llvmjit.c b/src/backend/jit/llvm/llvmjit.c index daae964b1c..5d0cdab1fc 100644 --- a/src/backend/jit/llvm/llvmjit.c +++ b/src/backend/jit/llvm/llvmjit.c @@ -394,7 +394,6 @@ llvm_function_reference(LLVMJitContext *context, LLVMSetGlobalConstant(v_fn, true); return LLVMBuildLoad(builder, v_fn, ""); - return v_fn; } /* check if function already has been added */ -- 2.40.0