mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +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;
|
PFILE_OBJECT FileObject = IrpSp->FileObject;
|
||||||
PAFD_FCB FCB = FileObject->FsContext;
|
PAFD_FCB FCB = FileObject->FsContext;
|
||||||
PAFD_BIND_DATA BindReq;
|
PAFD_BIND_DATA BindReq;
|
||||||
HANDLE UserHandle;
|
HANDLE UserHandle = NULL;
|
||||||
|
|
||||||
UNREFERENCED_PARAMETER(DeviceObject);
|
UNREFERENCED_PARAMETER(DeviceObject);
|
||||||
|
|
||||||
|
@ -101,7 +101,6 @@ AfdBindSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||||
|
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
UserHandle = NULL;
|
|
||||||
Status = ObOpenObjectByPointer(FCB->AddressFile.Object,
|
Status = ObOpenObjectByPointer(FCB->AddressFile.Object,
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue