summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorMichael Sartain <mikesart@valvesoftware.com>2013-08-27 18:59:54 +0000
committerMichael Sartain <mikesart@valvesoftware.com>2013-08-27 18:59:54 +0000
commit338803fa238576859a959196253fe7f45cc2860a (patch)
treec5be48c9df592b61ebec79ff4536ac30d591436c /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parent60caaae9a7598790e02c434ac51727f1a500555e (diff)
downloadbcm5719-llvm-338803fa238576859a959196253fe7f45cc2860a.tar.gz
bcm5719-llvm-338803fa238576859a959196253fe7f45cc2860a.zip
warning cleanup (use LLDB_INVALID_HOST_THREAD instead of NULL)
llvm-svn: 189393
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
index f81446c4482..5078170238d 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@@ -785,7 +785,7 @@ GDBRemoteCommunicationServer::Handle_qLaunchGDBServer (StringExtractorGDBRemote
::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)
{
OpenPOWER on IntegriCloud