diff options
author | Marisa-Chan | 2014-12-19 16:36:54 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 16:36:54 +0600 |
commit | ea2ad625ff780750213821d25aedfe4e46027755 (patch) | |
tree | 8687cf63f8ebb1d6d31a8df886e9da8a61794732 /engines | |
parent | 9c2782a6800ada4330d2ae4f4087c7b13fbf851b (diff) | |
download | scummvm-rg350-ea2ad625ff780750213821d25aedfe4e46027755.tar.gz scummvm-rg350-ea2ad625ff780750213821d25aedfe4e46027755.tar.bz2 scummvm-rg350-ea2ad625ff780750213821d25aedfe4e46027755.zip |
ZVISION: Fix uninitialized scalar field (CID 1257070)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/scripting/actions.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp index 5689f3e2aa..b569b1315a 100644 --- a/engines/zvision/scripting/actions.cpp +++ b/engines/zvision/scripting/actions.cpp @@ -973,8 +973,10 @@ bool ActionStreamVideo::execute() { ActionSyncSound::ActionSyncSound(ZVision *engine, int32 slotkey, const Common::String &line) : ResultAction(engine, slotkey) { + _syncto = 0; + char fileName[25]; - int notUsed; + int notUsed = 0; sscanf(line.c_str(), "%d %d %25s", &_syncto, ¬Used, fileName); |