[lldb] [Host/Terminal] Fix warnings with termios disabled
authorMichał Górny <mgorny@moritz.systems>
Thu, 28 Oct 2021 19:03:49 +0000 (21:03 +0200)
committerMichał Górny <mgorny@moritz.systems>
Fri, 29 Oct 2021 07:58:09 +0000 (09:58 +0200)
commite9dcd8b37b73236f9c1db71c6afa057c181bb0c8
treeb6e677b8881ef0d5bf7a4b54e638ea6741b0b0cc
parent286a7a4023361aa63230596e88366c3d86776921
[lldb] [Host/Terminal] Fix warnings with termios disabled

Thanks to Nico Weber for the suggestion.

Differential Revision: https://reviews.llvm.org/D112632
lldb/source/Host/common/Terminal.cpp