From 5104861e85b05ce9fc38bf92f5f5973538da6c5c Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 9 Jan 2013 16:07:01 +0100 Subject: [PATCH] src/w32.c, src/w32term.c: Remove unused local variables. --- src/ChangeLog | 5 +++++ src/w32.c | 2 -- src/w32term.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c6418ddcfac..6ce141331ec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-09 Juanma Barranquero + + * w32.c (get_name_and_id, acl_set_file): + * w32term.c (w32fullscreen_hook): Remove unused local variables. + 2013-01-09 Dmitry Antipov * lisp.h (make_gap_1): New prototype. diff --git a/src/w32.c b/src/w32.c index 55581a17de5..812003e96c0 100644 --- 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; diff --git a/src/w32term.c b/src/w32term.c index 36ae4d7797f..16c7bd415a5 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -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) { -- 2.39.5