random tidy
authorChris Lattner <sabre@nondot.org>
Mon, 9 Nov 2009 04:18:23 +0000 (04:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Nov 2009 04:18:23 +0000 (04:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86511 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkArchives.cpp

index 76d81c219426b0932ac10c191f6793638560e925..365ec05b9fe62ac9be1cabc32a81611611a6ff2f 100644 (file)
@@ -172,10 +172,9 @@ Linker::LinkInArchive(const sys::Path &Filename, bool &is_native) {
         verbose("  Linking in module: " + aModule->getModuleIdentifier());
 
         // Link it in
-        if (LinkInModule(aModule, &moduleErrorMsg)) {
+        if (LinkInModule(aModule, &moduleErrorMsg))
           return error("Cannot link in module '" +
                        aModule->getModuleIdentifier() + "': " + moduleErrorMsg);
-        }
       } 
     }