LibLine: Uninitialized members in Editor, found by Coverity

This commit is contained in:
Brian Gianforcaro 2020-08-16 15:36:28 -07:00 committed by Andreas Kling
parent 3ee0917dcb
commit c1fd41c38c
Notes: sideshowbarker 2024-07-19 03:30:57 +09:00

View file

@ -359,7 +359,8 @@ private:
HashMap<char, NonnullOwnPtr<KeyCallback>> m_key_callbacks;
// TODO: handle signals internally.
struct termios m_termios, m_default_termios;
struct termios m_termios {};
struct termios m_default_termios {};
bool m_was_interrupted { false };
bool m_was_resized { false };