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:
parent
089d6a8e7a
commit
52f0e2db94
|
@ -133,6 +133,7 @@ GenericChatForm::GenericChatForm(const Contact* contact, QWidget* parent)
|
||||||
: QWidget(parent, Qt::Window)
|
: QWidget(parent, Qt::Window)
|
||||||
, audioInputFlag(false)
|
, audioInputFlag(false)
|
||||||
, audioOutputFlag(false)
|
, audioOutputFlag(false)
|
||||||
|
, searchAfterLoadHistory(false)
|
||||||
{
|
{
|
||||||
curRow = 0;
|
curRow = 0;
|
||||||
headWidget = new ChatFormHeader();
|
headWidget = new ChatFormHeader();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user