Remvoe a do-nothing else block.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 11 Nov 2006 20:27:49 +0000 (20:27 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 11 Nov 2006 20:27:49 +0000 (20:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31687 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkArchives.cpp

index 152b0b1e7bf80a480911fec02a9109e37e40db95..583e1940ad9234f459657194f312a3ab08e45bbb 100644 (file)
@@ -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