diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-27 18:58:46 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-28 00:15:51 (GMT) |
commit | 46f71720fe4064cc6a309c9dd9bd05060bda0667 (patch) | |
tree | 921a8252c9fecccc0c4460b74c3109c5ba334f20 /Source | |
parent | 48b38d2d864988081725cc0d306a18ae1e79ac96 (diff) | |
download | CMake-46f71720fe4064cc6a309c9dd9bd05060bda0667.zip CMake-46f71720fe4064cc6a309c9dd9bd05060bda0667.tar.gz CMake-46f71720fe4064cc6a309c9dd9bd05060bda0667.tar.bz2 |
cmVisualStudioSlnParser: simplify switch statement
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudioSlnParser.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmVisualStudioSlnParser.cxx b/Source/cmVisualStudioSlnParser.cxx index 9b61566..adfd4c5 100644 --- a/Source/cmVisualStudioSlnParser.cxx +++ b/Source/cmVisualStudioSlnParser.cxx @@ -171,17 +171,12 @@ LineFormat cmVisualStudioSlnParser::State::NextLineFormat() const case FileStateTopLevel: return LineMultiValueTag; case FileStateProject: - return LineSingleValueTag; - case FileStateProjectDependencies: - return LineKeyValuePair; case FileStateGlobal: return LineSingleValueTag; + case FileStateProjectDependencies: case FileStateSolutionConfigurations: - return LineKeyValuePair; case FileStateProjectConfigurations: - return LineKeyValuePair; case FileStateSolutionFilters: - return LineKeyValuePair; case FileStateGlobalSection: return LineKeyValuePair; case FileStateIgnore: |