mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #2827 from HenryJacques/winpr_cleanup
Remove unused variable in RegQueryValueExA()
This commit is contained in:
commit
e1e4d2ae98
|
@ -266,13 +266,10 @@ LONG RegQueryValueExW(HKEY hKey, LPCWSTR lpValueName,
|
|||
LONG RegQueryValueExA(HKEY hKey, LPCSTR lpValueName,
|
||||
LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
|
||||
{
|
||||
Reg* reg;
|
||||
RegKey* key;
|
||||
RegVal* pValue;
|
||||
|
||||
key = (RegKey*) hKey;
|
||||
reg = RegGetInstance();
|
||||
|
||||
pValue = key->values;
|
||||
|
||||
while (pValue != NULL)
|
||||
|
|
Loading…
Reference in New Issue