[Lldb-commits] [lldb] r347721 - Remove dead code from IOHandler

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 27 15:37:47 PST 2018


Author: xiaobai
Date: Tue Nov 27 15:37:47 2018
New Revision: 347721

URL: http://llvm.org/viewvc/llvm-project?rev=347721&view=rev
Log:
Remove dead code from IOHandler

This has been dead since 2014 according to the blame

Modified:
    lldb/trunk/source/Core/IOHandler.cpp

Modified: lldb/trunk/source/Core/IOHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/IOHandler.cpp?rev=347721&r1=347720&r2=347721&view=diff
==============================================================================
--- lldb/trunk/source/Core/IOHandler.cpp (original)
+++ lldb/trunk/source/Core/IOHandler.cpp Tue Nov 27 15:37:47 2018
@@ -1744,11 +1744,7 @@ public:
   void Initialize() {
     ::setlocale(LC_ALL, "");
     ::setlocale(LC_CTYPE, "");
-#if 0
-            ::initscr();
-#else
     m_screen = ::newterm(nullptr, m_out, m_in);
-#endif
     ::start_color();
     ::curs_set(0);
     ::noecho();




More information about the lldb-commits mailing list