Merge pull request #2827 from HenryJacques/winpr_cleanup

Remove unused variable in RegQueryValueExA()
This commit is contained in:
Marc-André Moreau 2015-08-27 10:11:50 -04:00
commit e1e4d2ae98
1 changed files with 0 additions and 3 deletions

View File

@ -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)