diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 19:11:07 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:45 (GMT) |
commit | 4deab0a75c0da66938c230a446af5ecd6f3c5ca3 (patch) | |
tree | da2a018bdb2564934dbea62c60111c5f55c5dbce /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 714a466eeb42809fa56d78d6aef6cde70d938af5 (diff) | |
download | CMake-4deab0a75c0da66938c230a446af5ecd6f3c5ca3.zip CMake-4deab0a75c0da66938c230a446af5ecd6f3c5ca3.tar.gz CMake-4deab0a75c0da66938c230a446af5ecd6f3c5ca3.tar.bz2 |
clang-tidy: fix `readability-braces-around-statements` lints
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 69b3c22..d6eceb1 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -546,8 +546,9 @@ void cmGlobalVisualStudio7Generator::WriteSLNGlobalSections( } else if (cmHasLiteralPrefix(name, "POST_")) { name = name.substr(5); sectionType = "postSolution"; - } else + } else { continue; + } if (!name.empty()) { bool addGuid = false; if (name == "ExtensibilityGlobals" && sectionType == "postSolution") { @@ -585,9 +586,10 @@ void cmGlobalVisualStudio7Generator::WriteSLNGlobalSections( << "\t\tSolutionGuid = {" << guid << "}\n" << "\tEndGlobalSection\n"; } - if (!extensibilityAddInsOverridden) + if (!extensibilityAddInsOverridden) { fout << "\tGlobalSection(ExtensibilityAddIns) = postSolution\n" << "\tEndGlobalSection\n"; + } } // Standard end of dsw file |