Author: tkreuzer
Date: Wed Aug 24 09:59:35 2011
New Revision: 53411
URL:
http://svn.reactos.org/svn/reactos?rev=53411&view=rev
Log:
[FREELDR]
Don't use RtlZeroMemory to initialize a pointer
Modified:
trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c
Modified: trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/disk/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c [iso-8859-1] Wed Aug 24 09:59:35
2011
@@ -975,10 +975,9 @@
ULONG FunctionNumber;
CHAR VendorIdString[8];
CHAR DeviceIdString[8];
- PCM_RESOURCE_LIST ResourceList;
+ PCM_RESOURCE_LIST ResourceList = NULL;
NTSTATUS Status;
- RtlZeroMemory(&ResourceList, sizeof(PCM_RESOURCE_LIST));
SlotNumber.u.AsULONG = 0;
/* Loop through all devices */