diff options
author | Matthias Maennich <matthias@maennich.net> | 2017-09-19 14:19:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-28 11:23:42 (GMT) |
commit | 2033abff0dec29072ac070cb6fe1604e8c03f180 (patch) | |
tree | 494f28a1e19c405e5def2b5d5343fe75f26b65ad /Source/CPack/cmCPackProductBuildGenerator.cxx | |
parent | 79b8c3802a430577a83ead5b0baab7038a813116 (diff) | |
download | CMake-2033abff0dec29072ac070cb6fe1604e8c03f180.zip CMake-2033abff0dec29072ac070cb6fe1604e8c03f180.tar.gz CMake-2033abff0dec29072ac070cb6fe1604e8c03f180.tar.bz2 |
Fix minor clang-tidy findings
Fix issues diagnosed by clang-tidy
- modernize-use-bool-literals
- misc-string-integer-assignment
- performance-faster-string-find
- readability-redundant-string-cstr
- readability-delete-null-pointer
Signed-off-by: Matthias Maennich <matthias@maennich.net>
Diffstat (limited to 'Source/CPack/cmCPackProductBuildGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackProductBuildGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackProductBuildGenerator.cxx b/Source/CPack/cmCPackProductBuildGenerator.cxx index ed4463c..6a6dc82 100644 --- a/Source/CPack/cmCPackProductBuildGenerator.cxx +++ b/Source/CPack/cmCPackProductBuildGenerator.cxx @@ -190,7 +190,7 @@ bool cmCPackProductBuildGenerator::GenerateComponentPackage( cmCPackLogger(cmCPackLog::LOG_ERROR, "Problem creating installer directory: " << scriptDir << std::endl); - return 0; + return false; } // if preflight, postflight, or postupgrade are set |