summaryrefslogtreecommitdiff
path: root/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
commit0288d18bb68b3072c9d5f08a0c5b45041f900baa (patch)
tree9a1f11b6a8d77bb80c67bc076d6189235a85d191 /lib/Linker/LinkArchives.cpp
parenta07d5b91644eedadf768f91d3959224357fafbc9 (diff)
downloadllvm-0288d18bb68b3072c9d5f08a0c5b45041f900baa.tar.gz
llvm-0288d18bb68b3072c9d5f08a0c5b45041f900baa.tar.bz2
llvm-0288d18bb68b3072c9d5f08a0c5b45041f900baa.tar.xz
Remvoe a do-nothing else block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkArchives.cpp')
-rw-r--r--lib/Linker/LinkArchives.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Linker/LinkArchives.cpp b/lib/Linker/LinkArchives.cpp
index 152b0b1e7b..583e1940ad 100644
--- a/lib/Linker/LinkArchives.cpp
+++ b/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