Initialize an uninitialized variable
This commit is contained in:
parent
44657d8fc6
commit
952b8e1d74
@ -46,17 +46,17 @@ int
|
|||||||
Message::run ()
|
Message::run ()
|
||||||
{
|
{
|
||||||
|
|
||||||
bool _splash_pushed;
|
bool splash_pushed = false
|
||||||
Splash* spl = Splash::instance();
|
Splash* spl = Splash::instance();
|
||||||
if (spl && spl->is_visible()) {
|
if (spl && spl->is_visible()) {
|
||||||
spl->pop_back_for (_message_dialog);
|
spl->pop_back_for (_message_dialog);
|
||||||
_splash_pushed = true;
|
splash_pushed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int rv = _message_dialog.run ();
|
int rv = _message_dialog.run ();
|
||||||
_message_dialog.hide ();
|
_message_dialog.hide ();
|
||||||
|
|
||||||
if (_splash_pushed) {
|
if (splash_pushed) {
|
||||||
spl = Splash::instance();
|
spl = Splash::instance();
|
||||||
if (spl) {
|
if (spl) {
|
||||||
spl->pop_front();
|
spl->pop_front();
|
||||||
|
Loading…
Reference in New Issue
Block a user