aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-builtins.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-13 00:07:18 +0100
committerEugene Sandulenko2019-12-13 00:07:18 +0100
commit230a2c577680c2c5753878aed2ac5a06135549ec (patch)
tree0d0fb94f3ece7ee1dee12d9dbcbd76cce5911a0c /engines/director/lingo/lingo-builtins.cpp
parent5825a30b671a8645708fb1b8aa0b7961d64bd979 (diff)
downloadscummvm-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.cpp2
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;