Remove accidentally committed duplicate code
authorAdrian Prantl <aprantl@apple.com>
Thu, 25 Oct 2018 17:36:05 +0000 (17:36 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 25 Oct 2018 17:36:05 +0000 (17:36 +0000)
llvm-svn: 345287

lldb/source/Utility/ArchSpec.cpp

index 26f1421..df1029e 100644 (file)
@@ -1029,11 +1029,6 @@ static bool isCompatibleEnvironment(llvm::Triple::EnvironmentType lhs,
       rhs == llvm::Triple::UnknownEnvironment)
     return true;
 
-  // If any of the environment is unknown then they are compatible
-  if (lhs == llvm::Triple::UnknownEnvironment ||
-      rhs == llvm::Triple::UnknownEnvironment)
-    return true;
-
   // If one of the environment is Android and the other one is EABI then they
   // are considered to be compatible. This is required as a workaround for
   // shared libraries compiled for Android without the NOTE section indicating