mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
silence warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4a2f059ad
commit
b324bd735f
@ -441,8 +441,8 @@ static bool LinkGlobals(Module *Dest, Module *Src,
|
||||
SGV->hasExternalLinkage() || SGV->hasDLLImportLinkage() &&
|
||||
"Global must either be external or have an initializer!");
|
||||
|
||||
GlobalValue::LinkageTypes NewLinkage;
|
||||
bool LinkFromSrc;
|
||||
GlobalValue::LinkageTypes NewLinkage = GlobalValue::InternalLinkage;
|
||||
bool LinkFromSrc = false;
|
||||
if (GetLinkageResult(DGV, SGV, NewLinkage, LinkFromSrc, Err))
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user