From 7b20205e689de78aea624639c356a10aff26b75b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 10 Oct 2019 21:24:44 -0400 Subject: [PATCH] codegen.cpp: remove unused variable --- src/codegen.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/codegen.cpp b/src/codegen.cpp index 055a66792e..e2e117d27a 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -413,7 +413,6 @@ static LLVMValueRef make_fn_llvm_value(CodeGen *g, ZigFn *fn) { linkage = fn_export->linkage; } - bool external_linkage = linkage != GlobalLinkageIdInternal; CallingConvention cc = fn->type_entry->data.fn.fn_type_id.cc; bool is_async = fn_is_async(fn);