forked from OSchip/llvm-project
Fix implicit conversion of NULL constant to 'bool'.
llvm-svn: 220318
This commit is contained in:
parent
ea16d6e2b8
commit
a2b05d0441
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue