diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-08 23:11:42 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-08 23:11:42 -0800 |
commit | ed7bf3a5ee1e31dafbb2d285b39c8fe07fc06f7c (patch) | |
tree | 4e03e0c36d24dbecb80330bfadc376b97a99ce53 /src/xterm.c | |
parent | 2b07bcffb0e2b6cef517406cbc979ac14e46cd8e (diff) | |
download | emacs-ed7bf3a5ee1e31dafbb2d285b39c8fe07fc06f7c.tar.gz emacs-ed7bf3a5ee1e31dafbb2d285b39c8fe07fc06f7c.tar.bz2 emacs-ed7bf3a5ee1e31dafbb2d285b39c8fe07fc06f7c.zip |
* xterm.c (x_iconify_frame, x_free_frame_resources): Don't declare locals
unless they are used.
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index f253ed0aa3f..9220d84815c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -9166,7 +9166,9 @@ x_make_frame_invisible (struct frame *f) void x_iconify_frame (struct frame *f) { +#ifdef USE_X_TOOLKIT int result; +#endif Lisp_Object type; /* Don't keep the highlight on an invisible frame. */ @@ -9293,9 +9295,11 @@ void x_free_frame_resources (struct frame *f) { struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); + Mouse_HLInfo *hlinfo = &dpyinfo->mouse_highlight; +#ifdef USE_X_TOOLKIT Lisp_Object bar; struct scroll_bar *b; - Mouse_HLInfo *hlinfo = &dpyinfo->mouse_highlight; +#endif BLOCK_INPUT; |