mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Initialize an uninitialized variable
This commit is contained in:
parent
44657d8fc6
commit
952b8e1d74
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue