diff options
author | Ľubomír Remák | 2018-08-19 23:38:20 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | b00395b0b976b869cb83c1181481f1ad7ba16b1e (patch) | |
tree | 22c2145393008f22ccc4fd5ec66790ba0796ee72 /engines/mutationofjb/debug.cpp | |
parent | 0e90d6eae39363687a447e39d3ba0a4994f1800f (diff) | |
download | scummvm-rg350-b00395b0b976b869cb83c1181481f1ad7ba16b1e.tar.gz scummvm-rg350-b00395b0b976b869cb83c1181481f1ad7ba16b1e.tar.bz2 scummvm-rg350-b00395b0b976b869cb83c1181481f1ad7ba16b1e.zip |
MUTATIONOFJB: Fix MSVC warnings.
Diffstat (limited to 'engines/mutationofjb/debug.cpp')
-rw-r--r-- | engines/mutationofjb/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mutationofjb/debug.cpp b/engines/mutationofjb/debug.cpp index 69804fd5bc..2a06cce49f 100644 --- a/engines/mutationofjb/debug.cpp +++ b/engines/mutationofjb/debug.cpp @@ -93,7 +93,7 @@ bool Console::cmd_listsections(int argc, const char **argv) { if (argc == 3) { Script *const script = getScriptFromArg(argv[1]); if (script) { - ActionInfo::Action action; + ActionInfo::Action action = ActionInfo::Look; const char *word = nullptr; if (strcmp(argv[2], "L") == 0) { action = ActionInfo::Look; @@ -171,7 +171,7 @@ bool Console::cmd_showsection(int argc, const char **argv) { Script *const script = getScriptFromArg(argv[1]); if (script) { Command *command = nullptr; - ActionInfo::Action action; + ActionInfo::Action action = ActionInfo::Look; bool correctAction = true; bool found = false; |