hidclass.sys: Zero-initialize the HID_DEVICE_ATTRIBUTES structure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
364df14842
commit
8c87a2618e
|
@ -75,7 +75,7 @@ NTSTATUS WINAPI PNP_AddDevice(DRIVER_OBJECT *driver, DEVICE_OBJECT *PDO)
|
||||||
DEVICE_OBJECT *device = NULL;
|
DEVICE_OBJECT *device = NULL;
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
minidriver *minidriver;
|
minidriver *minidriver;
|
||||||
HID_DEVICE_ATTRIBUTES attr;
|
HID_DEVICE_ATTRIBUTES attr = {0};
|
||||||
BASE_DEVICE_EXTENSION *ext = NULL;
|
BASE_DEVICE_EXTENSION *ext = NULL;
|
||||||
HID_DESCRIPTOR descriptor;
|
HID_DESCRIPTOR descriptor;
|
||||||
BYTE *reportDescriptor;
|
BYTE *reportDescriptor;
|
||||||
|
|
Loading…
Reference in New Issue