# HG changeset patch # User Dan Nicolaescu # Date 1241295415 0 # Node ID 5a5e07d71f3c2ea93c880619e4de348c0f3656bd # Parent 31694eae75d8f2f9921e2cdb5837b061ed5edb27 (x_handle_net_wm_state): Move declaration of lval before any statements. diff -r 31694eae75d8 -r 5a5e07d71f3c src/ChangeLog --- a/src/ChangeLog Sat May 02 19:28:41 2009 +0000 +++ b/src/ChangeLog Sat May 02 20:16:55 2009 +0000 @@ -1,3 +1,8 @@ +2009-05-02 Dan Nicolaescu + + * xterm.c (x_handle_net_wm_state): Move declaration of lval before + any statements. + 2009-05-02 Andreas Schwab * process.c (read_process_output): Make sure the current buffer is diff -r 31694eae75d8 -r 5a5e07d71f3c src/xterm.c --- a/src/xterm.c Sat May 02 19:28:41 2009 +0000 +++ b/src/xterm.c Sat May 02 20:16:55 2009 +0000 @@ -8689,6 +8689,7 @@ 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); @@ -8718,7 +8719,7 @@ value |= FULLSCREEN_BOTH; } - Lisp_Object lval = Qnil; + lval = Qnil; switch (value) { case FULLSCREEN_WIDTH: