mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-18 21:07:52 +00:00
Initialize selevreq
selevreq was previously being passed to ioctl without being fully initialized.
This commit is contained in:
parent
d794f046dc
commit
cdf2b6b39f
@ -645,7 +645,7 @@ private:
|
||||
DWORD signals; // All bus signals
|
||||
|
||||
#if defined(USE_SEL_EVENT_ENABLE) && !defined(BAREMETAL)
|
||||
struct gpioevent_request selevreq; // SEL signal event request
|
||||
struct gpioevent_request selevreq = {}; // SEL signal event request
|
||||
|
||||
int epfd; // epoll file descriptor
|
||||
#endif // USE_SEL_EVENT_ENABLE && !BAREMETAL
|
||||
|
Loading…
Reference in New Issue
Block a user