Fix implicit conversion of NULL constant to 'bool'.

llvm-svn: 220318
This commit is contained in:
Eric Christopher 2014-10-21 20:35:35 +00:00
parent ea16d6e2b8
commit a2b05d0441
1 changed files with 1 additions and 1 deletions

View File

@ -1056,7 +1056,7 @@ PlatformDarwin::GetDeveloperDirectory()
&signo, &signo,
&command_output, &command_output,
2, // short timeout 2, // short timeout
NULL); // don't run in a shell false); // don't run in a shell
if (error.Success() && exit_status == 0 && !command_output.empty()) if (error.Success() && exit_status == 0 && !command_output.empty())
{ {
const char *cmd_output_ptr = command_output.c_str(); const char *cmd_output_ptr = command_output.c_str();