diff options
author | Sean McBride <sean@rogue-research.com> | 2021-10-05 15:34:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-05 15:52:35 (GMT) |
commit | f4387c197d39fe0b96a7e2aeda769792c8680e44 (patch) | |
tree | 17add0e3b65e96c5593f3d0aa4162b0ad2f31c12 /Source/CPack | |
parent | 2974ea7c3e9cbf9952d6c361bbcecb5027f69605 (diff) | |
download | CMake-f4387c197d39fe0b96a7e2aeda769792c8680e44.zip CMake-f4387c197d39fe0b96a7e2aeda769792c8680e44.tar.gz CMake-f4387c197d39fe0b96a7e2aeda769792c8680e44.tar.bz2 |
CPack/OSXX11: Fix Clang 13 Wunused-but-set-variable
Use the success/fail flag for the function return value.
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/OSXScriptLauncher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/OSXScriptLauncher.cxx b/Source/CPack/OSXScriptLauncher.cxx index bdaf779..b7140ab 100644 --- a/Source/CPack/OSXScriptLauncher.cxx +++ b/Source/CPack/OSXScriptLauncher.cxx @@ -118,5 +118,5 @@ int main(int argc, char* argv[]) cmsysProcess_Delete(cp); - return 0; + return !result; } |