summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorMatthias Maennich <matthias@maennich.net>2017-10-05 10:53:22 (GMT)
committerMatthias Maennich <matthias@maennich.net>2017-10-05 12:53:51 (GMT)
commit85a7eaba5ec921ea9f61f340d2372f49ac5536bd (patch)
tree553bbf55ed1e1e703c02875153ac0c039de39b21 /Source/cmGeneratorTarget.cxx
parent3345e2a2cc16e209f6e37caffe581b40e6ed19bb (diff)
downloadCMake-85a7eaba5ec921ea9f61f340d2372f49ac5536bd.zip
CMake-85a7eaba5ec921ea9f61f340d2372f49ac5536bd.tar.gz
CMake-85a7eaba5ec921ea9f61f340d2372f49ac5536bd.tar.bz2
cmGeneratorTarget: remove dead code
explicitLibraries can never be nullptr at this point
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index ea41204e..103d034 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/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;