changeset 56296:075ad6932e06

(x_supports_face_attributes_p) (Fdisplay_supports_face_attributes_p): YAILOM. (tty_supports_face_attributes_p): Remove unused var `i'.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 30 Jun 2004 19:35:18 +0000
parents 9edd102571f9
children 345336794f57
files src/xfaces.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Wed Jun 30 19:34:49 2004 +0000
+++ b/src/xfaces.c	Wed Jun 30 19:35:18 2004 +0000
@@ -5848,7 +5848,7 @@
       face = FACE_FROM_ID (f, lookup_face (f, merged_attrs, 0, 0));
 
       if (! face)
-	signal_error ("cannot make face", 0);
+	error ("cannot make face");
 
       /* If the font is the same, then not supported.  */
       if (face->font == def_face->font)
@@ -5883,7 +5883,7 @@
      Lisp_Object *attrs;
      struct face *def_face;
 {
-  int weight, i;
+  int weight;
   Lisp_Object val, fg, bg;
   XColor fg_tty_color, fg_std_color;
   XColor bg_tty_color, bg_std_color;
@@ -6105,7 +6105,7 @@
   if (def_face == NULL)
     {
       if (! realize_basic_faces (f))
-	signal_error ("Cannot realize default face", 0);
+	error ("Cannot realize default face");
       def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID);
     }