diff --git a/reactos/ntoskrnl/io/pnpmgr.c b/reactos/ntoskrnl/io/pnpmgr.c index e508ff2f863..60e5b137677 100644 --- a/reactos/ntoskrnl/io/pnpmgr.c +++ b/reactos/ntoskrnl/io/pnpmgr.c @@ -60,7 +60,7 @@ IoGetDeviceProperty( { PDEVICE_NODE DeviceNode = IopGetDeviceNode(DeviceObject); ULONG Length; - PVOID Data; + PVOID Data = NULL; PWSTR Ptr; DPRINT("IoGetDeviceProperty(%x %d)\n", DeviceObject, DeviceProperty);