Skip to content

Commit 0949eb2

Browse files
committed
silence unused variable warning
1 parent f46da9e commit 0949eb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/codegen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5631,6 +5631,7 @@ static jl_returninfo_t get_specsig_function(jl_codectx_t &ctx, Module *M, String
56315631
unsigned argno = 1;
56325632
#if JL_LLVM_VERSION < 120000
56335633
attributes = attributes.addAttribute(jl_LLVMContext, argno, Attribute::StructRet);
5634+
(void)srt; // silence unused variable error
56345635
#else
56355636
Attribute sret = Attribute::getWithStructRetType(jl_LLVMContext, srt);
56365637
attributes = attributes.addAttribute(jl_LLVMContext, argno, sret);

0 commit comments

Comments
 (0)