From: Paul Eggert Date: Fri, 1 Apr 2011 20:30:45 +0000 (-0700) Subject: * xfns.c (x_create_tip_frame): Remove var that is set but not used. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~394^2~65 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ce7538dd218ee85ac22ab7a9f5aae87f34a5e26;p=emacs.git * xfns.c (x_create_tip_frame): Remove var that is set but not used. --- diff --git a/src/ChangeLog b/src/ChangeLog index 56400fbb08f..437924fe4a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-01 Paul Eggert + * xfns.c (x_create_tip_frame): Remove var that is set but not used. + * xterm.c (x_scroll_bar_to_input_event) [!USE_GTK]: Remove var that is set but not used. (scroll_bar_windows_size): Now size_t, not int. diff --git a/src/xfns.c b/src/xfns.c index e50d6887179..39c77b8c8c7 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4579,7 +4579,6 @@ x_create_tip_frame (struct x_display_info *dpyinfo, struct frame *f; Lisp_Object frame; Lisp_Object name; - long window_prompting = 0; int width, height; int count = SPECPDL_INDEX (); struct gcpro gcpro1, gcpro2, gcpro3; @@ -4757,7 +4756,7 @@ x_create_tip_frame (struct x_display_info *dpyinfo, f->output_data.x->parent_desc = FRAME_X_DISPLAY_INFO (f)->root_window; - window_prompting = x_figure_window_size (f, parms, 0); + x_figure_window_size (f, parms, 0); { XSetWindowAttributes attrs;