diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 14:17:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 19:04:14 (GMT) |
commit | 2988abd9390c1d6876610436883d1f7bcd405d8f (patch) | |
tree | 51c6f1aa4a9bcd1171ce51ffd42b5edca48ba4df /Source/CPack/IFW | |
parent | a74e6893480e491959e9165106f199a8cd0edd57 (diff) | |
download | CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.zip CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.gz CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.bz2 |
clang-tidy: apply modernize-use-bool-literals fixes
Diffstat (limited to 'Source/CPack/IFW')
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWInstaller.cxx | 2 | ||||
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWPackage.cxx | 2 | ||||
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWRepository.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWInstaller.cxx b/Source/CPack/IFW/cmCPackIFWInstaller.cxx index a6d443b..9ca7750 100644 --- a/Source/CPack/IFW/cmCPackIFWInstaller.cxx +++ b/Source/CPack/IFW/cmCPackIFWInstaller.cxx @@ -28,7 +28,7 @@ Generator->Logger->Log(logType, __FILE__, __LINE__, \ cmCPackLog_msg.str().c_str()); \ } \ - } while (0) + } while (false) cmCPackIFWInstaller::cmCPackIFWInstaller() : Generator(CM_NULLPTR) diff --git a/Source/CPack/IFW/cmCPackIFWPackage.cxx b/Source/CPack/IFW/cmCPackIFWPackage.cxx index 902c85d..c868a14 100644 --- a/Source/CPack/IFW/cmCPackIFWPackage.cxx +++ b/Source/CPack/IFW/cmCPackIFWPackage.cxx @@ -29,7 +29,7 @@ Generator->Logger->Log(logType, __FILE__, __LINE__, \ cmCPackLog_msg.str().c_str()); \ } \ - } while (0) + } while (false) //---------------------------------------------------------- CompareStruct --- cmCPackIFWPackage::CompareStruct::CompareStruct() diff --git a/Source/CPack/IFW/cmCPackIFWRepository.cxx b/Source/CPack/IFW/cmCPackIFWRepository.cxx index 8d50e30..cc204e8 100644 --- a/Source/CPack/IFW/cmCPackIFWRepository.cxx +++ b/Source/CPack/IFW/cmCPackIFWRepository.cxx @@ -23,7 +23,7 @@ Generator->Logger->Log(logType, __FILE__, __LINE__, \ cmCPackLog_msg.str().c_str()); \ } \ - } while (0) + } while (false) cmCPackIFWRepository::cmCPackIFWRepository() : Update(None) |