mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
ZVISION: Fix uninitialized scalar field (CID 1257066)
This commit is contained in:
parent
efb9355223
commit
b96c581881
@ -57,6 +57,9 @@ namespace ZVision {
|
||||
|
||||
ActionAdd::ActionAdd(ZVision *engine, int32 slotkey, const Common::String &line) :
|
||||
ResultAction(engine, slotkey) {
|
||||
_key = 0;
|
||||
_value = 0;
|
||||
|
||||
sscanf(line.c_str(), "%u,%d", &_key, &_value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user