diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-12-13 18:41:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-15 16:40:25 (GMT) |
commit | 414aa6c81ec62ab2f728fab31aa189ce674484a4 (patch) | |
tree | 0b70c8ae470b1cfebd205af33754bf577c3b277d /Source/CPack/OSXScriptLauncher.cxx | |
parent | d4a42dd4a87c9caa222a7a40150db937258698d2 (diff) | |
download | CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.zip CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.tar.gz CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.tar.bz2 |
clang-tidy: Simplify boolean expressions
Diffstat (limited to 'Source/CPack/OSXScriptLauncher.cxx')
-rw-r--r-- | Source/CPack/OSXScriptLauncher.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CPack/OSXScriptLauncher.cxx b/Source/CPack/OSXScriptLauncher.cxx index d3de02b..4966d09 100644 --- a/Source/CPack/OSXScriptLauncher.cxx +++ b/Source/CPack/OSXScriptLauncher.cxx @@ -46,8 +46,7 @@ int main(int argc, char* argv[]) // get the file system path of the url as a cstring // in an encoding suitable for posix apis - if (CFURLGetFileSystemRepresentation(scriptFileURL, true, path, PATH_MAX) == - false) { + if (!CFURLGetFileSystemRepresentation(scriptFileURL, true, path, PATH_MAX)) { DebugError("CFURLGetFileSystemRepresentation failed"); return 1; } |