mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 07:05:12 +00:00
[NDIS]
- Avoid using an out-of-scope local variable in NdisReadNetworkAddress. Patch by Víctor Martínez. CORE-10650 #resolve svn path=/trunk/; revision=70284
This commit is contained in:
parent
1acc2401b3
commit
b625e9516d
|
@ -761,6 +761,7 @@ NdisReadNetworkAddress(
|
|||
NDIS_STRING Keyword;
|
||||
UINT *IntArray = 0;
|
||||
UINT i,j = 0;
|
||||
WCHAR Buff[11];
|
||||
NDIS_STRING str;
|
||||
|
||||
NdisInitUnicodeString(&Keyword, L"NetworkAddress");
|
||||
|
@ -774,8 +775,6 @@ NdisReadNetworkAddress(
|
|||
|
||||
if (ParameterValue->ParameterType == NdisParameterInteger)
|
||||
{
|
||||
WCHAR Buff[11];
|
||||
|
||||
NDIS_DbgPrint(MAX_TRACE, ("Read integer data %lx\n",
|
||||
ParameterValue->ParameterData.IntegerData));
|
||||
|
||||
|
|
Loading…
Reference in a new issue