shell32/tests: Remove variable res which is not really used from init_strings.

oldstable
Gerald Pfeifer 2010-05-07 23:38:35 +02:00 committed by Alexandre Julliard
parent 7b252d6edb
commit 3a88623553
1 changed files with 1 additions and 2 deletions

View File

@ -149,7 +149,6 @@ static void init_strings(void)
{
HKEY key;
DWORD size;
LONG res;
/* Older Win9x and NT4 */
@ -162,7 +161,7 @@ static void init_strings(void)
RegOpenKeyA(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders", &key);
size = sizeof(commonprograms);
res = RegQueryValueExA(key, "Common Programs", NULL, NULL, (LPBYTE)&commonprograms, &size);
RegQueryValueExA(key, "Common Programs", NULL, NULL, (LPBYTE)&commonprograms, &size);
RegCloseKey(key);
}