diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2014-05-28 16:43:26 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2014-05-28 16:43:26 +0000 |
commit | 0a70a845342cd75f40b7de3f0e7e70d973f5aecb (patch) | |
tree | 10cb95a48b345373110a7e2308b4b95716c914d1 /lldb/source/Core | |
parent | 2c77fe59d9c1ab15b2032db2db932ce54774b3a9 (diff) | |
download | bcm5719-llvm-0a70a845342cd75f40b7de3f0e7e70d973f5aecb.tar.gz bcm5719-llvm-0a70a845342cd75f40b7de3f0e7e70d973f5aecb.zip |
Fix Windows warnings.
This fixes a number of trivial warnings in the Windows build. This is part of a larger effort to make the Windows build warning-free.
See http://reviews.llvm.org/D3914 for more details.
Change by Zachary Turner
llvm-svn: 209749
Diffstat (limited to 'lldb/source/Core')
-rw-r--r-- | lldb/source/Core/ConnectionFileDescriptor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Core/ConnectionFileDescriptor.cpp b/lldb/source/Core/ConnectionFileDescriptor.cpp index 31761d8864a..f6886669f18 100644 --- a/lldb/source/Core/ConnectionFileDescriptor.cpp +++ b/lldb/source/Core/ConnectionFileDescriptor.cpp @@ -609,14 +609,14 @@ ConnectionFileDescriptor::Write (const void *src, size_t src_len, ConnectionStat switch (m_fd_send_type) { -#ifndef LLDB_DISABLE_POSIX case eFDTypeFile: // Other FD requireing read/write +#ifndef LLDB_DISABLE_POSIX do { bytes_sent = ::write (m_fd_send, src, src_len); } while (bytes_sent < 0 && errno == EINTR); - break; #endif + break; case eFDTypeSocket: // Socket requiring send/recv do { |