mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -27,7 +27,7 @@ bool cmGetTestPropertyCommand::InitialPass(
|
||||
std::string var = args[2];
|
||||
cmTest* test = this->Makefile->GetTest(testName);
|
||||
if (test) {
|
||||
const char* prop = 0;
|
||||
const char* prop = CM_NULLPTR;
|
||||
if (!args[1].empty()) {
|
||||
prop = test->GetProperty(args[1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user