mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -55,7 +55,8 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args,
|
||||
// try to find the hostname for this computer
|
||||
if (!cmSystemTools::IsOff(hostname_cmd.c_str())) {
|
||||
std::string host;
|
||||
cmSystemTools::RunSingleCommand(hostname_cmd.c_str(), &host, 0, 0, 0,
|
||||
cmSystemTools::RunSingleCommand(hostname_cmd.c_str(), &host, CM_NULLPTR,
|
||||
CM_NULLPTR, CM_NULLPTR,
|
||||
cmSystemTools::OUTPUT_NONE);
|
||||
|
||||
// got the hostname
|
||||
|
||||
Reference in New Issue
Block a user