diff options
author | Matthias Maennich <matthias@maennich.net> | 2017-09-20 21:53:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-28 11:23:43 (GMT) |
commit | 77f674be35717a6eb296246733885b5a7ddf95ec (patch) | |
tree | 308de087b0babb7799c8c99c4352faa158969012 /Source/cmXCodeScheme.cxx | |
parent | f0bab294dcd3f2c4f3be5e491426b5eefb2a9aba (diff) | |
download | CMake-77f674be35717a6eb296246733885b5a7ddf95ec.zip CMake-77f674be35717a6eb296246733885b5a7ddf95ec.tar.gz CMake-77f674be35717a6eb296246733885b5a7ddf95ec.tar.bz2 |
Fix some occurrences of readability-braces-around-statements
Fix issues diagnosed by clang-tidy [readability-braces-around-statements]
Signed-off-by: Matthias Maennich <matthias@maennich.net>
Diffstat (limited to 'Source/cmXCodeScheme.cxx')
-rw-r--r-- | Source/cmXCodeScheme.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmXCodeScheme.cxx b/Source/cmXCodeScheme.cxx index 29de35e..f1dce64 100644 --- a/Source/cmXCodeScheme.cxx +++ b/Source/cmXCodeScheme.cxx @@ -222,8 +222,9 @@ std::string cmXCodeScheme::FindConfiguration(const std::string& name) // if (std::find(this->ConfigList.begin(), this->ConfigList.end(), name) == this->ConfigList.end() && - !this->ConfigList.empty()) + !this->ConfigList.empty()) { return this->ConfigList[0]; + } return name; } |