aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2007-10-25 14:29:25 +0000
committerJuanma Barranquero2007-10-25 14:29:25 +0000
commit66199f745295e64eb986a3f6f11c839081cff2c0 (patch)
tree4d2941c670ee9285f40ff5ff970da7258bcd89af /src
parent557f46f04b87f68c2587bc6c8ecc7d7806f7d22f (diff)
downloademacs-66199f745295e64eb986a3f6f11c839081cff2c0.tar.gz
emacs-66199f745295e64eb986a3f6f11c839081cff2c0.zip
(w32_get_resource): Remove unused variable `ok'.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/w32.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index aab2b3e6210..e2dd2a4f59f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,7 @@
12007-10-25 Juanma Barranquero <lekktu@gmail.com> 12007-10-25 Juanma Barranquero <lekktu@gmail.com>
2 2
3 * w32.c (init_environment): Fix tiny memory leak. 3 * w32.c (init_environment): Fix tiny memory leak.
4 (w32_get_resource): Remove unused variable `ok'.
4 5
52007-10-25 Stefan Monnier <monnier@iro.umontreal.ca> 62007-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6 7
diff --git a/src/w32.c b/src/w32.c
index 16bec44f610..d9d11c3094a 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -914,7 +914,6 @@ w32_get_resource (key, lpdwtype)
914 LPBYTE lpvalue; 914 LPBYTE lpvalue;
915 HKEY hrootkey = NULL; 915 HKEY hrootkey = NULL;
916 DWORD cbData; 916 DWORD cbData;
917 BOOL ok = FALSE;
918 917
919 /* Check both the current user and the local machine to see if 918 /* Check both the current user and the local machine to see if
920 we have any resources. */ 919 we have any resources. */