src/w32.c, src/w32term.c: Remove unused local variables.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 9 Jan 2013 15:07:01 +0000 (16:07 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 9 Jan 2013 15:07:01 +0000 (16:07 +0100)
src/ChangeLog
src/w32.c
src/w32term.c

index c6418dd..6ce1413 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32.c (get_name_and_id, acl_set_file):
+       * w32term.c (w32fullscreen_hook): Remove unused local variables.
+
 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * lisp.h (make_gap_1): New prototype.
index 55581a1..812003e 100644 (file)
--- a/src/w32.c
+++ b/src/w32.c
@@ -3648,7 +3648,6 @@ static int
 get_name_and_id (PSECURITY_DESCRIPTOR psd, unsigned *id, char *nm, int what)
 {
   PSID sid = NULL;
-  char machine[MAX_COMPUTERNAME_LENGTH+1];
   BOOL dflt;
   SID_NAME_USE ignore;
   char name[UNLEN+1];
@@ -4800,7 +4799,6 @@ acl_set_file (const char *fname, acl_type_t type, acl_t acl)
 {
   TOKEN_PRIVILEGES old1, old2;
   DWORD err;
-  BOOL res;
   int st = 0, retval = -1;
   SECURITY_INFORMATION flags = 0;
   PSID psid;
index 36ae4d7..16c7bd4 100644 (file)
@@ -5652,7 +5652,7 @@ x_check_fullscreen (struct frame *f)
 static void
 w32fullscreen_hook (FRAME_PTR f)
 {
-  static int normal_width, normal_height, normal_top, normal_left;
+  static int normal_width, normal_height;
 
   if (f->async_visible)
     {