Initialize the all important automatic variable 'lldb::ConnectionStatus status' before

invoking the Read(...) method to read in bytes.  Similar to r135461.

llvm-svn: 135695
This commit is contained in:
Johnny Chen 2011-07-21 19:00:59 +00:00
parent b595ed0085
commit becabe0e81
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ CommunicationKDP::WaitForPacketWithTimeoutMicroSecondsNoLock (DataExtractor &pac
bool timed_out = false;
while (IsConnected() && !timed_out)
{
lldb::ConnectionStatus status;
lldb::ConnectionStatus status = eConnectionStatusNoConnection;
size_t bytes_read = Read (buffer, sizeof(buffer), timeout_usec, status, &error);
if (log)