summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioSlnParser.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 18:37:59 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:29 (GMT)
commitf8a2926986de51ce99948cf160e882e57bf5f384 (patch)
treeaa325c04415235fcc913579b8b578c68463a67a8 /Source/cmVisualStudioSlnParser.h
parent63453bf4ef6aea31f072c559dda656fbd845ab41 (diff)
downloadCMake-f8a2926986de51ce99948cf160e882e57bf5f384.zip
CMake-f8a2926986de51ce99948cf160e882e57bf5f384.tar.gz
CMake-f8a2926986de51ce99948cf160e882e57bf5f384.tar.bz2
clang-tidy: fix `modernize-use-default-member-init` lints
Diffstat (limited to 'Source/cmVisualStudioSlnParser.h')
-rw-r--r--Source/cmVisualStudioSlnParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVisualStudioSlnParser.h b/Source/cmVisualStudioSlnParser.h
index 60be598..0cac140 100644
--- a/Source/cmVisualStudioSlnParser.h
+++ b/Source/cmVisualStudioSlnParser.h
@@ -73,8 +73,8 @@ protected:
struct ResultData
{
- ParseResult Result;
- size_t ResultLine;
+ ParseResult Result = ResultOK;
+ size_t ResultLine = 0;
bool HadBOM;
ResultData();