From c1fd41c38cbc506c2de62c2ca7ef9c0cc57234a5 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 16 Aug 2020 15:36:28 -0700 Subject: [PATCH] LibLine: Uninitialized members in Editor, found by Coverity --- Libraries/LibLine/Editor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/LibLine/Editor.h b/Libraries/LibLine/Editor.h index d9dd563747..03e2a0acf8 100644 --- a/Libraries/LibLine/Editor.h +++ b/Libraries/LibLine/Editor.h @@ -359,7 +359,8 @@ private: HashMap> 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 };