Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: fix uninitialized variable
Browse files Browse the repository at this point in the history
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'
  • Loading branch information
sorokin committed Feb 15, 2019
1 parent 089d6a8 commit 52f0e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widget/form/genericchatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 52f0e2d

Please sign in to comment.