diff options
author | Zachary Turner <zturner@google.com> | 2015-02-25 19:52:41 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-02-25 19:52:41 +0000 |
commit | 49be160531053ba001f0337951572ea9de064eb9 (patch) | |
tree | a4a43bc960f558bc8d58b7fcc972d63db3a4eda1 /lldb/source/Target/Process.cpp | |
parent | 8f12ce082508a700c463f186da67a36cfea7d568 (diff) | |
download | bcm5719-llvm-49be160531053ba001f0337951572ea9de064eb9.tar.gz bcm5719-llvm-49be160531053ba001f0337951572ea9de064eb9.zip |
Revert "Fix warnings found with clang-cl."
SWIG doesn't like enum : unsigned. Revert this until I can
fix this in a way that swig likes.
llvm-svn: 230531
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index 7a93337f002..2a76e88f2bb 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -5010,6 +5010,7 @@ public: if (OpenPipes()) { const int read_fd = m_read_file.GetDescriptor(); + const int pipe_read_fd = m_pipe.GetReadFileDescriptor(); TerminalState terminal_state; terminal_state.Save (read_fd, false); Terminal terminal(read_fd); @@ -5017,7 +5018,6 @@ public: terminal.SetEcho(false); // FD_ZERO, FD_SET are not supported on windows #ifndef _WIN32 - const int pipe_read_fd = m_pipe.GetReadFileDescriptor(); while (!GetIsDone()) { fd_set read_fdset; |