summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-06 14:27:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-10-06 14:27:31 (GMT)
commite1508290453c99b003a4863c574752faa193e0c8 (patch)
treee15496f71fb1379936bea306368260e8ca263026 /Source
parent807cff736441d787a443c55b396c768e7fe57bd7 (diff)
parentf4387c197d39fe0b96a7e2aeda769792c8680e44 (diff)
downloadCMake-e1508290453c99b003a4863c574752faa193e0c8.zip
CMake-e1508290453c99b003a4863c574752faa193e0c8.tar.gz
CMake-e1508290453c99b003a4863c574752faa193e0c8.tar.bz2
Merge topic 'Wunused-but-set-variable'
f4387c197d CPack/OSXX11: Fix Clang 13 Wunused-but-set-variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6595
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/OSXScriptLauncher.cxx2
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;
}