mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Fixed compiler warning ('RegistryPropertyName' might be used uninitialized in this function)
svn path=/trunk/; revision=11257
This commit is contained in:
parent
cd9eae5e7a
commit
1ad4234f07
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: pnpmgr.c,v 1.34 2004/10/09 18:16:58 navaraf Exp $
|
||||
/* $Id: pnpmgr.c,v 1.35 2004/10/10 15:51:52 blight Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -155,7 +155,8 @@ IoGetDeviceProperty(
|
|||
RegistryPropertyName = L"Mfg"; break;
|
||||
case DevicePropertyFriendlyName:
|
||||
RegistryPropertyName = L"FriendlyName"; break;
|
||||
default: ;
|
||||
default:
|
||||
RegistryPropertyName = NULL; break;
|
||||
}
|
||||
|
||||
KeyNameBuffer = ExAllocatePool(PagedPool,
|
||||
|
|
Loading…
Reference in a new issue