Browse Source

cmGeneratorTarget: remove dead code

explicitLibraries can never be nullptr at this point
Matthias Maennich 8 years ago
parent
commit
85a7eaba5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmGeneratorTarget.cxx

+ 1 - 1
Source/cmGeneratorTarget.cxx

@@ -4654,7 +4654,7 @@ void cmGeneratorTarget::ComputeLinkInterfaceLibraries(
         "INTERFACE_LINK_LIBRARIES:\n"
         "  " << newExplicitLibraries << "\n" <<
         linkIfaceProp << ":\n"
-        "  " << (explicitLibraries ? explicitLibraries : "(empty)") << "\n";
+        "  " << explicitLibraries << "\n";
       /* clang-format on */
       this->LocalGenerator->IssueMessage(cmake::AUTHOR_WARNING, w.str());
       this->PolicyWarnedCMP0022 = true;