Commit d13847bb authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[lldb] TerminalState::Save - fix unused variable warning

Non-POSIX target builds don't use the file descriptor
parent d7aa402b
......@@ -417,8 +417,8 @@ bool TerminalState::Save(Terminal term, bool save_process_group) {
m_tty = term;
if (m_tty.IsATerminal()) {
int fd = m_tty.GetFileDescriptor();
int fd = m_tty.GetFileDescriptor();
m_tflags = ::fcntl(fd, F_GETFL, 0);
std::unique_ptr<Terminal::Data> new_data{new Terminal::Data()};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment