summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkItem.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-12-06 21:52:39 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2018-12-15 09:51:47 (GMT)
commit32cb564bea57af007d03fa31d80a0177057fc901 (patch)
tree0badd6e8b6eeddc8a967ffa3fe3de158fb3e650d /Source/cmLinkItem.cxx
parent7ffa6bf99972a980d995081a66b858eaaca9db7e (diff)
downloadCMake-32cb564bea57af007d03fa31d80a0177057fc901.zip
CMake-32cb564bea57af007d03fa31d80a0177057fc901.tar.gz
CMake-32cb564bea57af007d03fa31d80a0177057fc901.tar.bz2
clang-tidy: Remove redundant member initializations
Diffstat (limited to 'Source/cmLinkItem.cxx')
-rw-r--r--Source/cmLinkItem.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmLinkItem.cxx b/Source/cmLinkItem.cxx
index 121731d..f0d76df 100644
--- a/Source/cmLinkItem.cxx
+++ b/Source/cmLinkItem.cxx
@@ -7,8 +7,7 @@
#include <utility> // IWYU pragma: keep
cmLinkItem::cmLinkItem()
- : String()
- , Target(nullptr)
+ : Target(nullptr)
{
}
@@ -21,8 +20,7 @@ cmLinkItem::cmLinkItem(std::string const& n, cmListFileBacktrace const& bt)
cmLinkItem::cmLinkItem(cmGeneratorTarget const* t,
cmListFileBacktrace const& bt)
- : String()
- , Target(t)
+ : Target(t)
, Backtrace(bt)
{
}