mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
Source: Avoid comparing pointers to nullptr
This commit is contained in:
@@ -327,7 +327,7 @@ std::string cmFindProgramCommand::GetBundleExecutable(
|
||||
// returned executableURL is relative to <appbundle>/Contents/MacOS/
|
||||
CFURLRef executableURL = CFBundleCopyExecutableURL(appBundle);
|
||||
|
||||
if (executableURL != nullptr) {
|
||||
if (executableURL) {
|
||||
const int MAX_OSX_PATH_SIZE = 1024;
|
||||
UInt8 buffer[MAX_OSX_PATH_SIZE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user