]> code.delx.au - gnu-emacs/commitdiff
Remove unused assignment.
authorDima Kogan <dima@secretsauce.net>
Mon, 9 Feb 2015 14:56:38 +0000 (15:56 +0100)
committerJan D <jhd@f20.localdomain>
Mon, 9 Feb 2015 14:56:38 +0000 (15:56 +0100)
* font.c (font_score): Remove unused variable assignment.

src/ChangeLog
src/font.c

index bc5d6101a5c21368c17d28d973d3a27504cad0b2..2a702a29a7dba26813a7200158bb803e6d73f156 100644 (file)
@@ -1,3 +1,7 @@
+2015-02-09  Dima Kogan  <dima@secretsauce.net>
+
+       * font.c (font_score): Remove unused variable assignment.
+
 2015-02-09  Dima Kogan  <dima@secretsauce.net>
 
        * xfaces.c (realize_basic_faces): Don't set Qscalable_fonts_allowed to
index 9ea43cdfc858cea5b8787f418c99b508d4941191..b2b43c7971329125e173b631957809d60b361d47 100644 (file)
@@ -2136,7 +2136,6 @@ font_score (Lisp_Object entity, Lisp_Object *spec_prop)
       }
 
   /* Score the size.  Maximum difference is 127.  */
-  i = FONT_SIZE_INDEX;
   if (! NILP (spec_prop[FONT_SIZE_INDEX])
       && XINT (AREF (entity, FONT_SIZE_INDEX)) > 0)
     {