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