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/cmELF.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/cmELF.cxx')
-rw-r--r-- | Source/cmELF.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index 66f1733..8aea753 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -83,7 +83,6 @@ public: : External(external) , Stream(std::move(fin)) , ByteOrder(order) - , ELFType(cmELF::FileTypeInvalid) { // In most cases the processor-specific byte order will match that // of the target execution environment. If we choose wrong here @@ -150,7 +149,7 @@ protected: ByteOrderType ByteOrder; // The ELF file type. - cmELF::FileType ELFType; + cmELF::FileType ELFType = cmELF::FileTypeInvalid; // The ELF architecture. std::uint16_t Machine; |