Merge pull request #507 from alexey-lysiuk/fix_iokit_uninitialized

Fixed uninitialized variable in IOKit controller handler
This commit is contained in:
coelckers 2016-01-24 14:26:41 +01:00
commit f0305572f5

View file

@ -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)
{ } { }
}; };