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:
Zebediah Figura 2021-04-14 09:39:59 -05:00 committed by Alexandre Julliard
parent 364df14842
commit 8c87a2618e
1 changed files with 1 additions and 1 deletions

View File

@ -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;