mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Use C++11 nullptr (cont.)
Fix remaining occurrences of the issue addressed in commit 5962db4389
(Use C++11 nullptr, 2017-08-22) that are only showing up on macOS.
Signed-off-by: Matthias Maennich <matthias@maennich.net>
This commit is contained in:
committed by
Brad King
parent
a1cdf537ff
commit
a5279ae553
@@ -229,7 +229,7 @@ std::string cmFindProgramCommand::GetBundleExecutable(
|
||||
// returned executableURL is relative to <appbundle>/Contents/MacOS/
|
||||
CFURLRef executableURL = CFBundleCopyExecutableURL(appBundle);
|
||||
|
||||
if (executableURL != NULL) {
|
||||
if (executableURL != nullptr) {
|
||||
const int MAX_OSX_PATH_SIZE = 1024;
|
||||
char buffer[MAX_OSX_PATH_SIZE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user