[NTOS] When checking something for NULL, let's initialize it to NULL...

This commit is contained in:
Mark Jansen 2018-12-27 23:03:22 +01:00
parent b17e8a5e3c
commit ec5c0c926b
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -655,7 +655,7 @@ IopSetServiceEnumData(PDEVICE_NODE DeviceNode)
UNICODE_STRING EnumKeyName;
UNICODE_STRING ValueName;
PKEY_VALUE_FULL_INFORMATION KeyValueInformation;
HANDLE ServiceKey = NULL, ServiceEnumKey;
HANDLE ServiceKey = NULL, ServiceEnumKey = NULL;
ULONG Disposition;
ULONG Count = 0, NextInstance = 0;
WCHAR ValueBuffer[6];