summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-10-18 21:16:02 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-20 12:48:20 (GMT)
commiteffa6c8343fb871574cb5471de5eb4c1705dd334 (patch)
tree9349fd3223bf5d9369e80eace97ad04209c52bd1 /Source/CPack
parentfb461cacba5afe98fd9871d4b8ab0500d825ad5a (diff)
downloadCMake-effa6c8343fb871574cb5471de5eb4c1705dd334.zip
CMake-effa6c8343fb871574cb5471de5eb4c1705dd334.tar.gz
CMake-effa6c8343fb871574cb5471de5eb4c1705dd334.tar.bz2
fix more issues reported by clang-tidy
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/IFW/cmCPackIFWInstaller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWInstaller.cxx b/Source/CPack/IFW/cmCPackIFWInstaller.cxx
index d9ac909..0098a4b 100644
--- a/Source/CPack/IFW/cmCPackIFWInstaller.cxx
+++ b/Source/CPack/IFW/cmCPackIFWInstaller.cxx
@@ -231,7 +231,7 @@ public:
protected:
void StartElement(const std::string& name, const char** /*atts*/) CM_OVERRIDE
{
- file = name == "file" ? true : false;
+ file = name == "file";
if (file) {
hasFiles = true;
}