[Lldb-commits] [lldb] r220318 - Fix implicit conversion of NULL constant to 'bool'.

Eric Christopher echristo at gmail.com
Tue Oct 21 13:35:35 PDT 2014


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();





More information about the lldb-commits mailing list