mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -91,7 +91,7 @@ bool cmTargetLinkLibrariesCommand::InitialPass(
|
||||
|
||||
if (this->Target->GetType() == cmState::UTILITY) {
|
||||
std::ostringstream e;
|
||||
const char* modal = 0;
|
||||
const char* modal = CM_NULLPTR;
|
||||
cmake::MessageType messageType = cmake::AUTHOR_WARNING;
|
||||
switch (this->Makefile->GetPolicyStatus(cmPolicies::CMP0039)) {
|
||||
case cmPolicies::WARN:
|
||||
@@ -307,7 +307,7 @@ bool cmTargetLinkLibrariesCommand::HandleLibrary(const std::string& lib,
|
||||
if (!this->Target->PushTLLCommandTrace(
|
||||
sig, this->Makefile->GetExecutionContext())) {
|
||||
std::ostringstream e;
|
||||
const char* modal = 0;
|
||||
const char* modal = CM_NULLPTR;
|
||||
cmake::MessageType messageType = cmake::AUTHOR_WARNING;
|
||||
switch (this->Makefile->GetPolicyStatus(cmPolicies::CMP0023)) {
|
||||
case cmPolicies::WARN:
|
||||
|
||||
Reference in New Issue
Block a user