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