From b543f5c64a2456722b91c29016027dc958d39677 Mon Sep 17 00:00:00 2001 From: Pierre Poissinger Date: Mon, 30 Mar 2009 17:10:35 -0400 Subject: [PATCH 1/2] gcc 2.9-aix51-020209 compile fix --- src/frame.c | 3 ++- src/xterm.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frame.c b/src/frame.c index 1a11021..6408571 100644 --- a/src/frame.c +++ b/src/frame.c @@ -3370,6 +3370,7 @@ x_set_font (f, arg, oldval) Lisp_Object frame; int fontset = -1; Lisp_Object font_object; + Lisp_Object lval; /* Set the frame parameter back to the old value because we may fail to use ARG as the new parameter value. */ @@ -3427,7 +3428,7 @@ x_set_font (f, arg, oldval) return; - Lisp_Object lval = Fassq (Qfullscreen, f->param_alist); + lval = Fassq (Qfullscreen, f->param_alist); if (CONSP (lval)) lval = CDR (lval); x_new_font (f, font_object, fontset); diff --git a/src/xterm.c b/src/xterm.c index 76beb62..8444061 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8675,6 +8675,7 @@ x_handle_net_wm_state (f, event) Display *dpy = FRAME_X_DISPLAY (f); unsigned char *tmp_data = NULL; Atom target_type = XA_ATOM; + Lisp_Object lval; BLOCK_INPUT; x_catch_errors (dpy); @@ -8704,7 +8705,7 @@ x_handle_net_wm_state (f, event) value |= FULLSCREEN_BOTH; } - Lisp_Object lval = Qnil; + lval = Qnil; switch (value) { case FULLSCREEN_WIDTH: -- 1.6.2.1