From 0a70a845342cd75f40b7de3f0e7e70d973f5aecb Mon Sep 17 00:00:00 2001 From: Todd Fiala Date: Wed, 28 May 2014 16:43:26 +0000 Subject: 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 --- lldb/source/Core/ConnectionFileDescriptor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Core/ConnectionFileDescriptor.cpp') 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 { -- cgit v1.2.3