Avoid a compiler warning on macOS.
* src/xdisp.c (expose_window_tree): Define variable f only if used.
This commit is contained in:
parent
9b7d28ce4e
commit
f136a4bf7c
1 changed files with 2 additions and 0 deletions
|
|
@ -32390,7 +32390,9 @@ expose_window (struct window *w, XRectangle *fr)
|
||||||
static bool
|
static bool
|
||||||
expose_window_tree (struct window *w, XRectangle *r)
|
expose_window_tree (struct window *w, XRectangle *r)
|
||||||
{
|
{
|
||||||
|
#ifndef HAVE_NS
|
||||||
struct frame *f = XFRAME (w->frame);
|
struct frame *f = XFRAME (w->frame);
|
||||||
|
#endif
|
||||||
bool mouse_face_overwritten_p = false;
|
bool mouse_face_overwritten_p = false;
|
||||||
|
|
||||||
/* NS toolkits may have aleady modified the frame in expectation of
|
/* NS toolkits may have aleady modified the frame in expectation of
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue