Author: greatlrd
Date: Mon Apr 2 12:58:34 2007
New Revision: 26244
URL:
http://svn.reactos.org/svn/reactos?rev=26244&view=rev
Log:
fixing the build for gcc 3.4.5
Modified:
trunk/reactos/drivers/network/afd/afd/tdi.c
Modified: trunk/reactos/drivers/network/afd/afd/tdi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/td…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/tdi.c (original)
+++ trunk/reactos/drivers/network/afd/afd/tdi.c Mon Apr 2 12:58:34 2007
@@ -766,9 +766,9 @@
PIO_COMPLETION_ROUTINE CompletionRoutine,
PVOID CompletionContext )
{
- PDEVICE_OBJECT DeviceObject;
+ PDEVICE_OBJECT DeviceObject = NULL;
NTSTATUS Status = STATUS_SUCCESS;
- PMDL Mdl;
+ PMDL Mdl = NULL;
DeviceObject = IoGetRelatedDeviceObject(TransportObject);
if (!DeviceObject) {
@@ -843,8 +843,8 @@
PVOID CompletionContext)
{
NTSTATUS Status = STATUS_SUCCESS;
- PDEVICE_OBJECT DeviceObject;
- PMDL Mdl;
+ PDEVICE_OBJECT DeviceObject = NULL;
+ PMDL Mdl = NULL;
DeviceObject = IoGetRelatedDeviceObject(TransportObject);
if (!DeviceObject) {