[llvm-commits] CVS: llvm/lib/Linker/LinkModules.cpp
Chris Lattner
sabre at nondot.org
Wed Nov 8 21:18:27 PST 2006
Changes in directory llvm/lib/Linker:
LinkModules.cpp updated: 1.117 -> 1.118
---
Log message:
silence warnings
---
Diffs of the changes: (+2 -2)
LinkModules.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Linker/LinkModules.cpp
diff -u llvm/lib/Linker/LinkModules.cpp:1.117 llvm/lib/Linker/LinkModules.cpp:1.118
--- llvm/lib/Linker/LinkModules.cpp:1.117 Thu Sep 14 13:23:26 2006
+++ llvm/lib/Linker/LinkModules.cpp Wed Nov 8 23:18:12 2006
@@ -441,8 +441,8 @@
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;
More information about the llvm-commits
mailing list