src/w32.c, src/w32term.c: Remove unused local variables.

This commit is contained in:
Juanma Barranquero 2013-01-09 16:07:01 +01:00
parent 2eae9ccc2a
commit 5104861e85
3 changed files with 6 additions and 3 deletions

View 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.

View file

@ -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;

View 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)
{