Author: tkreuzer
Date: Thu Feb 20 21:47:02 2014
New Revision: 62273
URL:
http://svn.reactos.org/svn/reactos?rev=62273&view=rev
Log:
[AFD]
Fix potentially uninitialized variable.
Modified:
trunk/reactos/drivers/network/afd/afd/bind.c
Modified: trunk/reactos/drivers/network/afd/afd/bind.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/bi…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/bind.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/bind.c [iso-8859-1] Thu Feb 20 21:47:02 2014
@@ -77,7 +77,7 @@
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 @@
if (NT_SUCCESS(Status))
{
- UserHandle = NULL;
Status = ObOpenObjectByPointer(FCB->AddressFile.Object,
0,
NULL,