[Lldb-commits] [lldb] r189393 - warning cleanup (use LLDB_INVALID_HOST_THREAD instead of NULL)

Michael Sartain mikesart at valvesoftware.com
Tue Aug 27 11:59:54 PDT 2013


Author: mikesart
Date: Tue Aug 27 13:59:54 2013
New Revision: 189393

URL: http://llvm.org/viewvc/llvm-project?rev=189393&view=rev
Log:
warning cleanup (use LLDB_INVALID_HOST_THREAD instead of NULL)

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp?rev=189393&r1=189392&r2=189393&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp Tue Aug 27 13:59:54 2013
@@ -785,7 +785,7 @@ GDBRemoteCommunicationServer::Handle_qLa
             ::snprintf (connect_url, sizeof(connect_url), "unix-accept://%s", unix_socket_name);
             // Spawn a new thread to accept the port that gets bound after
             // binding to port 0 (zero).
-            lldb::thread_t accept_thread = NULL;
+            lldb::thread_t accept_thread = LLDB_INVALID_HOST_THREAD;
             
             if (port == 0)
             {





More information about the lldb-commits mailing list