clang-static-analyzer: m_completionPopup is always non-null
commit0e61971f724ebba8ae08e99ddcd9efbdc874256b
authorJan Kundrát <jkt@kde.org>
Tue, 2 Feb 2016 17:52:34 +0000 (2 18:52 +0100)
committerJan Kundrát <jkt@kde.org>
Tue, 2 Feb 2016 18:07:07 +0000 (2 19:07 +0100)
treeb0e2785eb853b033e59cc49c742ff34d00199c22
parentbfa06ed8a57fb9e88a0eb2f3be9342a05ba176a0
clang-static-analyzer: m_completionPopup is always non-null

We are actually initializing it in the constructor and never
deleting/reseting it afterwards, so the checks for m_completionPopup
being nullptr do not make sense. Refactored.

Change-Id: I928badd25c44e0594986846bffceb7c6d86c8a31
src/Gui/ComposeWidget.cpp