ZVISION: Fix uninitialized scalar field (CID 1257086)
This commit is contained in:
parent
7a0b5982b1
commit
7609b6d866
1 changed files with 2 additions and 0 deletions
|
@ -232,6 +232,8 @@ bool ActionDelayRender::execute() {
|
|||
|
||||
ActionDisableControl::ActionDisableControl(ZVision *engine, int32 slotkey, const Common::String &line) :
|
||||
ResultAction(engine, slotkey) {
|
||||
_key = 0;
|
||||
|
||||
sscanf(line.c_str(), "%u", &_key);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue