From ea1752a79ae66a9f878bcfc9481d8b1aa6d90a80 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 6 Aug 2019 04:45:59 +0000 Subject: [Gardening] Remove dead code from ScriptInterpreterPython (NFC) The terminal state is never saved or restored. llvm-svn: 367977 --- .../Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h index a9993c4068a..f68e2c6eb96 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h @@ -347,10 +347,6 @@ public: void LeaveSession(); - void SaveTerminalState(int fd); - - void RestoreTerminalState(); - uint32_t IsExecutingPython() const { return m_lock_count > 0; } uint32_t IncrementLockCount() { return ++m_lock_count; } @@ -387,7 +383,6 @@ public: PythonObject m_run_one_line_function; PythonObject m_run_one_line_str_global; std::string m_dictionary_name; - TerminalState m_terminal_state; ActiveIOHandler m_active_io_handler; bool m_session_is_active; bool m_pty_slave_is_open; -- cgit v1.2.3