silence warnings

llvm-svn: 31587
This commit is contained in:
Chris Lattner 2006-11-09 05:18:12 +00:00
parent 6e2c15c158
commit 1b9633d7f0
1 changed files with 2 additions and 2 deletions

View File

@ -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;