Module: wine Branch: master Commit: 3a8862355389e6bf1226e134d4fcf2d0b8e28d6f URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a8862355389e6bf1226e134d4...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Fri May 7 23:38:35 2010 +0200
shell32/tests: Remove variable res which is not really used from init_strings.
---
dlls/shell32/tests/progman_dde.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/progman_dde.c b/dlls/shell32/tests/progman_dde.c index 333e1f1..d7bf432 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); }