Commit 3b552d56 authored by Pavel Janík's avatar Pavel Janík

(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'.
parent 15c565ac
2001-10-24 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* 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'.
......
......@@ -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);
......
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