Commit 82f4a138 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(window_to_frame_hpos, update_window):

Avoid gcc warning about unused variable `f'.
parent a9efeb1d
......@@ -3324,9 +3324,7 @@ window_to_frame_hpos (w, hpos)
struct window *w;
int hpos;
struct frame *f = XFRAME (w->frame);
xassert (!FRAME_WINDOW_P (f));
xassert (!FRAME_WINDOW_P (XFRAME (w->frame)));
return hpos;
......@@ -4101,10 +4099,8 @@ update_window (w, force_p)
extern int input_pending;
extern Lisp_Object do_mouse_tracking;
struct frame *f = XFRAME (WINDOW_FRAME (w));
/* Check that W's frame doesn't have glyph matrices. */
xassert (FRAME_WINDOW_P (f));
xassert (updating_frame != NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment