From 0288d18bb68b3072c9d5f08a0c5b45041f900baa Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 11 Nov 2006 20:27:49 +0000 Subject: Remvoe a do-nothing else block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31687 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Linker/LinkArchives.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/Linker/LinkArchives.cpp') 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 -- cgit v1.2.3