1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix: fix uninitialized variable

undefined behavior sanitizer complained about uninitialized variable:
src/widget/form/chatform.cpp:781:9: runtime error: load of value 190, which is not a valid value for type 'bool'
This commit is contained in:
Ivan Sorokin 2019-02-13 21:57:47 +03:00 committed by sudden6
parent 089d6a8e7a
commit ea18b613ba
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -133,6 +133,7 @@ GenericChatForm::GenericChatForm(const Contact* contact, QWidget* parent)
: QWidget(parent, Qt::Window)
, audioInputFlag(false)
, audioOutputFlag(false)
, searchAfterLoadHistory(false)
{
curRow = 0;
headWidget = new ChatFormHeader();