From: Reid Spencer Date: Sat, 11 Nov 2006 20:27:49 +0000 (+0000) Subject: Remvoe a do-nothing else block. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0288d18bb68b3072c9d5f08a0c5b45041f900baa;p=oota-llvm.git Remvoe a do-nothing else block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31687 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Linker/LinkArchives.cpp b/lib/Linker/LinkArchives.cpp index 152b0b1e7bf..583e1940ad9 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