Mercurial > emacs
comparison src/w32.c @ 79224:e0bc2893dafe
(w32_get_resource): Remove unused variable `ok'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 25 Oct 2007 14:34:09 +0000 |
parents | 0ff71882c6a7 |
children | fc2bcd2a8aad |
comparison
equal
deleted
inserted
replaced
79223:a90155608ffc | 79224:e0bc2893dafe |
---|---|
875 LPDWORD lpdwtype; | 875 LPDWORD lpdwtype; |
876 { | 876 { |
877 LPBYTE lpvalue; | 877 LPBYTE lpvalue; |
878 HKEY hrootkey = NULL; | 878 HKEY hrootkey = NULL; |
879 DWORD cbData; | 879 DWORD cbData; |
880 BOOL ok = FALSE; | |
881 | 880 |
882 /* Check both the current user and the local machine to see if | 881 /* Check both the current user and the local machine to see if |
883 we have any resources. */ | 882 we have any resources. */ |
884 | 883 |
885 if (RegOpenKeyEx (HKEY_CURRENT_USER, REG_ROOT, 0, KEY_READ, &hrootkey) == ERROR_SUCCESS) | 884 if (RegOpenKeyEx (HKEY_CURRENT_USER, REG_ROOT, 0, KEY_READ, &hrootkey) == ERROR_SUCCESS) |