Author: echristo
Date: Tue Oct 21 15:35:35 2014
New Revision: 220318
URL: http://llvm.org/viewvc/llvm-project?rev=220318&view=rev
Log:
Fix implicit conversion of NULL constant to 'bool'.
Modified:
lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp?rev=220318&r1=220317&r2=220318&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp Tue Oct 21
15:35:35 2014
@@ -1056,7 +1056,7 @@ PlatformDarwin::GetDeveloperDirectory()
&signo,
&command_output,
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())
{
const char *cmd_output_ptr = command_output.c_str();
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits