mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
Fixed uninitialized variable in IOKit controller handler
This commit is contained in:
parent
be3b84e751
commit
4b210a839a
1 changed files with 2 additions and 1 deletions
|
@ -157,8 +157,9 @@ private:
|
||||||
IOHIDElementCookie cookie;
|
IOHIDElementCookie cookie;
|
||||||
int32_t value;
|
int32_t value;
|
||||||
|
|
||||||
DigitalButton(const IOHIDElementCookie cookie)
|
explicit DigitalButton(const IOHIDElementCookie cookie)
|
||||||
: cookie(cookie)
|
: cookie(cookie)
|
||||||
|
, value(0)
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue