diff options
author | Juanma Barranquero <[email protected]> | 2013-01-09 16:07:01 +0100 |
---|---|---|
committer | Juanma Barranquero <[email protected]> | 2013-01-09 16:07:01 +0100 |
commit | 5104861e85b05ce9fc38bf92f5f5973538da6c5c (patch) | |
tree | 405f74759ae03e15a39f05f3e3b8871c86f4fc93 /src | |
parent | 2eae9ccc2a057def22f9f06198aa5aefafd69550 (diff) |
src/w32.c, src/w32term.c: Remove unused local variables.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/w32.c | 2 | ||||
-rw-r--r-- | src/w32term.c | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c6418ddcfa..6ce141331e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-09 Juanma Barranquero <[email protected]> + + * w32.c (get_name_and_id, acl_set_file): + * w32term.c (w32fullscreen_hook): Remove unused local variables. + 2013-01-09 Dmitry Antipov <[email protected]> * lisp.h (make_gap_1): New prototype. @@ -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 36ae4d7797..16c7bd415a 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) { |