summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkArchives.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-11 20:27:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-11 20:27:49 +0000
commit06d8e0fa3bc57fdcf092b21613d37002e5469a1c (patch)
treefec583a1380ca35e2b9c7e156f6ce1dd6feb390c /llvm/lib/Linker/LinkArchives.cpp
parent2230144a7529a545ba0e1239b1af59ad521c3946 (diff)
downloadbcm5719-llvm-06d8e0fa3bc57fdcf092b21613d37002e5469a1c.tar.gz
bcm5719-llvm-06d8e0fa3bc57fdcf092b21613d37002e5469a1c.zip
Remvoe a do-nothing else block.
llvm-svn: 31687
Diffstat (limited to 'llvm/lib/Linker/LinkArchives.cpp')
-rw-r--r--llvm/lib/Linker/LinkArchives.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Linker/LinkArchives.cpp b/llvm/lib/Linker/LinkArchives.cpp
index 152b0b1e7bf..583e1940ad9 100644
--- a/llvm/lib/Linker/LinkArchives.cpp
+++ b/llvm/lib/Linker/LinkArchives.cpp
@@ -165,12 +165,7 @@ Linker::LinkInArchive(const sys::Path &Filename) {
return error("Cannot link in module '" +
aModule->getModuleIdentifier() + "': " + moduleErrorMsg);
}
- } else {
- // (scottm) NOTE: For some reason, Modules.empty() isn't entirely
- // accurrate, least with gcc 4.1.2 on Debian and doesn't return true
- // when it ought. Consequently, aModule can be NULL -- ignore it for
- // the time being, since it seems relatively benign.
- }
+ }
}
// Get the undefined symbols from the aggregate module. This recomputes the
OpenPOWER on IntegriCloud