mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
Merge pull request #507 from alexey-lysiuk/fix_iokit_uninitialized
Fixed uninitialized variable in IOKit controller handler
This commit is contained in:
commit
f0305572f5
1 changed files with 2 additions and 1 deletions
|
@ -157,8 +157,9 @@ private:
|
|||
IOHIDElementCookie cookie;
|
||||
int32_t value;
|
||||
|
||||
DigitalButton(const IOHIDElementCookie cookie)
|
||||
explicit DigitalButton(const IOHIDElementCookie cookie)
|
||||
: cookie(cookie)
|
||||
, value(0)
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue