Commit 3a886235 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

parent 7b252d6e
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment