From: Pavel Janík Date: Wed, 24 Oct 2001 07:05:01 +0000 (+0000) Subject: (display_prop_string_p): Remove unused local declaration X-Git-Tag: ttn-vms-21-2-B4~19216 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b552d56d44a5344cfb15418836860eb01d80744;p=emacs.git (display_prop_string_p): Remove unused local declaration of `Qwhen'. (single_display_prop_string_p): Remove unused local declarations of `Qwhen' and `Qmargin'. (string_buffer_position): Remove unused variable `around'. (store_frame_title): Remove unused variable `width'. --- diff --git a/src/ChangeLog b/src/ChangeLog index f34199c8a34..c369e7c63cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,12 @@ 2001-10-24 Pavel Jan,Bm(Bk + * xdisp.c: (display_prop_string_p): Remove unused local declaration + of `Qwhen'. + (single_display_prop_string_p): Remove unused local declarations + of `Qwhen' and `Qmargin'. + (string_buffer_position): Remove unused variable `around'. + (store_frame_title): Remove unused variable `width'. + * window.c: Don't define max. (coordinates_in_window): Remove unused variable `uy'. diff --git a/src/xdisp.c b/src/xdisp.c index e113805ec79..f39f9ec387d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3138,8 +3138,6 @@ static int single_display_prop_string_p (prop, string) Lisp_Object prop, string; { - extern Lisp_Object Qwhen, Qmargin; - if (EQ (string, prop)) return 1; @@ -3175,8 +3173,6 @@ static int display_prop_string_p (prop, string) Lisp_Object prop, string; { - extern Lisp_Object Qwhen, Qmargin; - if (CONSP (prop) && CONSP (XCAR (prop)) && !EQ (Qmargin, XCAR (XCAR (prop)))) @@ -3222,7 +3218,6 @@ string_buffer_position (w, string, around_charpos) Lisp_Object string; int around_charpos; { - Lisp_Object around = make_number (around_charpos); Lisp_Object limit, prop, pos; const int MAX_DISTANCE = 1000; int found = 0; @@ -7140,7 +7135,7 @@ store_frame_title (str, field_width, precision) int field_width, precision; { int n = 0; - int dummy, nbytes, width; + int dummy, nbytes; /* Copy at most PRECISION chars from STR. */ nbytes = strlen (str);