diff options
author | Eugene Sandulenko | 2019-12-13 00:07:18 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-13 00:07:18 +0100 |
commit | 230a2c577680c2c5753878aed2ac5a06135549ec (patch) | |
tree | 0d0fb94f3ece7ee1dee12d9dbcbd76cce5911a0c /engines/director/lingo/lingo-builtins.cpp | |
parent | 5825a30b671a8645708fb1b8aa0b7961d64bd979 (diff) | |
download | scummvm-rg350-230a2c577680c2c5753878aed2ac5a06135549ec.tar.gz scummvm-rg350-230a2c577680c2c5753878aed2ac5a06135549ec.tar.bz2 scummvm-rg350-230a2c577680c2c5753878aed2ac5a06135549ec.zip |
DIRECTOR: LINGO: Fix warning
Diffstat (limited to 'engines/director/lingo/lingo-builtins.cpp')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index 677e8ae988..c14a248226 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -1178,7 +1178,7 @@ void Lingo::b_installMenu(int nargs) { int linenum = -1; // We increment it before processing Graphics::MacMenu *menu = g_director->_wm->addMenu(); - int submenu; + int submenu = -1; Common::String submenuText; //Graphics::MacMenuSubMenu *submenu = nullptr; |