mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 07:11:05 -06:00
CPack/OSXX11: Fix Clang 13 Wunused-but-set-variable
Use the success/fail flag for the function return value.
This commit is contained in:
@@ -118,5 +118,5 @@ int main(int argc, char* argv[])
|
||||
|
||||
cmsysProcess_Delete(cp);
|
||||
|
||||
return 0;
|
||||
return !result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user