13
0

Initialize an uninitialized variable

This commit is contained in:
Robin Gareus 2017-08-18 00:18:59 +02:00
parent 44657d8fc6
commit 952b8e1d74

View File

@ -46,17 +46,17 @@ int
Message::run ()
{
bool _splash_pushed;
bool splash_pushed = false
Splash* spl = Splash::instance();
if (spl && spl->is_visible()) {
spl->pop_back_for (_message_dialog);
_splash_pushed = true;
splash_pushed = true;
}
int rv = _message_dialog.run ();
_message_dialog.hide ();
if (_splash_pushed) {
if (splash_pushed) {
spl = Splash::instance();
if (spl) {
spl->pop_front();