mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
don't return uninitialized variable. thx to Alex.
svn path=/trunk/; revision=11594
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: pnpmgr.c,v 1.49 2004/11/07 22:55:38 navaraf Exp $
|
||||
/* $Id: pnpmgr.c,v 1.50 2004/11/08 01:46:12 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -383,7 +383,7 @@ IoOpenDeviceRegistryKey(
|
||||
else
|
||||
{
|
||||
RtlAppendUnicodeToString(&KeyName, EnumKeyName);
|
||||
RtlAppendUnicodeStringToString(&KeyName, &DeviceNode->InstancePath);
|
||||
Status = RtlAppendUnicodeStringToString(&KeyName, &DeviceNode->InstancePath);
|
||||
if (DeviceNode->InstancePath.Length == 0)
|
||||
{
|
||||
ExFreePool(KeyNameBuffer);
|
||||
|
||||
Reference in New Issue
Block a user