projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17e8a5
)
[NTOS] When checking something for NULL, let's initialize it to NULL...
author
Mark Jansen
<mark.jansen@reactos.org>
Thu, 27 Dec 2018 22:03:22 +0000
(23:03 +0100)
committer
Mark Jansen
<mark.jansen@reactos.org>
Thu, 27 Dec 2018 22:03:22 +0000
(23:03 +0100)
ntoskrnl/io/pnpmgr/pnpmgr.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/io/pnpmgr/pnpmgr.c
b/ntoskrnl/io/pnpmgr/pnpmgr.c
index
3ea4469
..
9c0d030
100644
(file)
--- a/
ntoskrnl/io/pnpmgr/pnpmgr.c
+++ b/
ntoskrnl/io/pnpmgr/pnpmgr.c
@@
-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];