From 267fb7e271a0b8ac648f9a60c52caa373aaea237 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 10 Sep 2006 05:51:45 +0000 Subject: [PATCH] (Fx_file_dialog): Remove unused variable `f'. Call check_mac. --- src/macfns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/macfns.c b/src/macfns.c index 51787067c29..dfe11074a4c 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -4345,13 +4345,14 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */) (prompt, dir, default_filename, mustmatch, only_dir_p) Lisp_Object prompt, dir, default_filename, mustmatch, only_dir_p; { - struct frame *f = SELECTED_FRAME (); Lisp_Object file = Qnil; int count = SPECPDL_INDEX (); struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6; char filename[MAXPATHLEN]; static NavEventUPP mac_nav_event_callbackUPP = NULL; + check_mac (); + GCPRO6 (prompt, dir, default_filename, mustmatch, file, only_dir_p); CHECK_STRING (prompt); CHECK_STRING (dir); -- 2.39.2