ZVISION: Fix uninitialized scalar field (CID 1257070)

This commit is contained in:
Marisa-Chan 2014-12-19 16:36:54 +06:00
parent 9c2782a680
commit ea2ad625ff

View File

@ -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, &notUsed, fileName);