(display_prop_string_p): Remove unused local declaration
authorPavel Janík <Pavel@Janik.cz>
Wed, 24 Oct 2001 07:05:01 +0000 (07:05 +0000)
committerPavel Janík <Pavel@Janik.cz>
Wed, 24 Oct 2001 07:05:01 +0000 (07:05 +0000)
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'.

src/ChangeLog
src/xdisp.c

index f34199c..c369e7c 100644 (file)
@@ -1,5 +1,12 @@
 2001-10-24  Pavel Jan\e,Bm\e(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'.
 
index e113805..f39f9ec 100644 (file)
@@ -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);