From 3a8862355389e6bf1226e134d4fcf2d0b8e28d6f Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 7 May 2010 23:38:35 +0200 Subject: [PATCH] shell32/tests: Remove variable res which is not really used from init_strings. --- dlls/shell32/tests/progman_dde.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/shell32/tests/progman_dde.c b/dlls/shell32/tests/progman_dde.c index 333e1f1e16b..d7bf4326a30 100644 --- a/dlls/shell32/tests/progman_dde.c +++ b/dlls/shell32/tests/progman_dde.c @@ -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); }