mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 22:49:12 +00:00
[AFD]
Fix potentially uninitialized variable. svn path=/trunk/; revision=62273
This commit is contained in:
parent
ca142ab065
commit
9e44277466
1 changed files with 1 additions and 2 deletions
|
@ -77,7 +77,7 @@ AfdBindSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
|||
PFILE_OBJECT FileObject = IrpSp->FileObject;
|
||||
PAFD_FCB FCB = FileObject->FsContext;
|
||||
PAFD_BIND_DATA BindReq;
|
||||
HANDLE UserHandle;
|
||||
HANDLE UserHandle = NULL;
|
||||
|
||||
UNREFERENCED_PARAMETER(DeviceObject);
|
||||
|
||||
|
@ -101,7 +101,6 @@ AfdBindSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
|||
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
UserHandle = NULL;
|
||||
Status = ObOpenObjectByPointer(FCB->AddressFile.Object,
|
||||
0,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in a new issue