summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio12Generator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 18:58:40 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:29 (GMT)
commitb72c45e39fa9dd5870046bb5cf25d33049006bd5 (patch)
tree5bbeafd0dc942663e48b999e6d41d0446e1d2b1d /Source/cmGlobalVisualStudio12Generator.cxx
parent07172aa31ec468baea0dc3e52ce6f706f55d6f12 (diff)
downloadCMake-b72c45e39fa9dd5870046bb5cf25d33049006bd5.zip
CMake-b72c45e39fa9dd5870046bb5cf25d33049006bd5.tar.gz
CMake-b72c45e39fa9dd5870046bb5cf25d33049006bd5.tar.bz2
clang-tidy: fix `readability-else-after-return` lints
Diffstat (limited to 'Source/cmGlobalVisualStudio12Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio12Generator.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio12Generator.cxx b/Source/cmGlobalVisualStudio12Generator.cxx
index dbe3519..d417f9e 100644
--- a/Source/cmGlobalVisualStudio12Generator.cxx
+++ b/Source/cmGlobalVisualStudio12Generator.cxx
@@ -194,9 +194,8 @@ bool cmGlobalVisualStudio12Generator::SelectWindowsPhoneToolset(
this->IsWindowsDesktopToolsetInstalled()) {
toolset = "v120_wp81";
return true;
- } else {
- return false;
}
+ return false;
}
return this->cmGlobalVisualStudio11Generator::SelectWindowsPhoneToolset(
toolset);
@@ -210,9 +209,8 @@ bool cmGlobalVisualStudio12Generator::SelectWindowsStoreToolset(
this->IsWindowsDesktopToolsetInstalled()) {
toolset = "v120";
return true;
- } else {
- return false;
}
+ return false;
}
return this->cmGlobalVisualStudio11Generator::SelectWindowsStoreToolset(
toolset);