fixing the build for gcc 3.4.5

svn path=/trunk/; revision=26244
This commit is contained in:
Magnus Olsen 2007-04-02 08:58:34 +00:00
parent cfb33d951a
commit 550b42f6d2

View file

@ -766,9 +766,9 @@ NTSTATUS TdiSend
PIO_COMPLETION_ROUTINE CompletionRoutine, PIO_COMPLETION_ROUTINE CompletionRoutine,
PVOID CompletionContext ) PVOID CompletionContext )
{ {
PDEVICE_OBJECT DeviceObject; PDEVICE_OBJECT DeviceObject = NULL;
NTSTATUS Status = STATUS_SUCCESS; NTSTATUS Status = STATUS_SUCCESS;
PMDL Mdl; PMDL Mdl = NULL;
DeviceObject = IoGetRelatedDeviceObject(TransportObject); DeviceObject = IoGetRelatedDeviceObject(TransportObject);
if (!DeviceObject) { if (!DeviceObject) {
@ -843,8 +843,8 @@ NTSTATUS TdiReceive(
PVOID CompletionContext) PVOID CompletionContext)
{ {
NTSTATUS Status = STATUS_SUCCESS; NTSTATUS Status = STATUS_SUCCESS;
PDEVICE_OBJECT DeviceObject; PDEVICE_OBJECT DeviceObject = NULL;
PMDL Mdl; PMDL Mdl = NULL;
DeviceObject = IoGetRelatedDeviceObject(TransportObject); DeviceObject = IoGetRelatedDeviceObject(TransportObject);
if (!DeviceObject) { if (!DeviceObject) {