CPack/OSXX11: Fix Clang 13 Wunused-but-set-variable

Use the success/fail flag for the function return value.
This commit is contained in:
Sean McBride
2021-10-05 11:34:18 -04:00
committed by Brad King
parent 2974ea7c3e
commit f4387c197d

View File

@@ -118,5 +118,5 @@ int main(int argc, char* argv[])
cmsysProcess_Delete(cp);
return 0;
return !result;
}