diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-05-17 16:49:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-24 13:09:43 (GMT) |
commit | a5f8cbe8b149d4b3e1136aa4c07691397d693038 (patch) | |
tree | 721f1f857df24dc64e3673dee5877ba9c0736b53 /Source/cmcmd.cxx | |
parent | 437789db07258c2a96f32a8c70382b1304292589 (diff) | |
download | CMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.zip CMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.tar.gz CMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.tar.bz2 |
clang-tidy: address `modernize-use-default-member-init` lints
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r-- | Source/cmcmd.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index df740c9..9ab39f1 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -2069,8 +2069,8 @@ class cmVSLink { int Type; bool Verbose; - bool Incremental; - bool LinkGeneratesManifest; + bool Incremental = false; + bool LinkGeneratesManifest = true; std::vector<std::string> LinkCommand; std::vector<std::string> UserManifests; std::string LinkerManifestFile; @@ -2085,8 +2085,6 @@ public: cmVSLink(int type, bool verbose) : Type(type) , Verbose(verbose) - , Incremental(false) - , LinkGeneratesManifest(true) { } bool Parse(std::vector<std::string>::const_iterator argBeg, |