summaryrefslogtreecommitdiffstats
path: root/Source/CPack/IFW
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-05-17 16:49:23 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-24 13:09:43 (GMT)
commita5f8cbe8b149d4b3e1136aa4c07691397d693038 (patch)
tree721f1f857df24dc64e3673dee5877ba9c0736b53 /Source/CPack/IFW
parent437789db07258c2a96f32a8c70382b1304292589 (diff)
downloadCMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.zip
CMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.tar.gz
CMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.tar.bz2
clang-tidy: address `modernize-use-default-member-init` lints
Diffstat (limited to 'Source/CPack/IFW')
-rw-r--r--Source/CPack/IFW/cmCPackIFWRepository.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWRepository.cxx b/Source/CPack/IFW/cmCPackIFWRepository.cxx
index f25d2d2..46fc57f 100644
--- a/Source/CPack/IFW/cmCPackIFWRepository.cxx
+++ b/Source/CPack/IFW/cmCPackIFWRepository.cxx
@@ -116,13 +116,12 @@ public:
cmCPackeIFWUpdatesPatcher(cmCPackIFWRepository* r, cmXMLWriter& x)
: repository(r)
, xout(x)
- , patched(false)
{
}
cmCPackIFWRepository* repository;
cmXMLWriter& xout;
- bool patched;
+ bool patched = false;
protected:
void StartElement(const std::string& name, const char** atts) override