diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-02 23:01:50 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-02 23:01:50 -0700 |
commit | 78834453077412b2280d5418259ac99755950d49 (patch) | |
tree | 338b57dd8dcbea4ec4906e0c5bf14d8910bc49fd /src/font.c | |
parent | 8cd55cb48a097813ff13b8dc5e6570dd32fa1495 (diff) | |
download | emacs-78834453077412b2280d5418259ac99755950d49.tar.gz |
* font.c (font_find_for_lface, Ffont_get_glyphs): Remove unused vars.
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/font.c b/src/font.c index 6b2e2f2712d..02262e1cb81 100644 --- a/src/font.c +++ b/src/font.c @@ -3071,7 +3071,7 @@ font_find_for_lface (FRAME_PTR f, Lisp_Object *attrs, Lisp_Object spec, int c) { Lisp_Object work; Lisp_Object frame, entities, val; - Lisp_Object size, foundry[3], *family, registry[3], adstyle[3]; + Lisp_Object foundry[3], *family, registry[3], adstyle[3]; int pixel_size; int i, j, k, l; @@ -3102,7 +3102,6 @@ font_find_for_lface (FRAME_PTR f, Lisp_Object *attrs, Lisp_Object spec, int c) work = Fcopy_font_spec (spec); ASET (work, FONT_TYPE_INDEX, AREF (spec, FONT_TYPE_INDEX)); XSETFRAME (frame, f); - size = AREF (spec, FONT_SIZE_INDEX); pixel_size = font_pixel_size (f, spec); if (pixel_size == 0 && INTEGERP (attrs[LFACE_HEIGHT_INDEX])) { @@ -4723,10 +4722,9 @@ the corresponding element is nil. */) Lisp_Object g; int c = XFASTINT (chars[i]); unsigned code; - EMACS_INT cod; struct font_metrics metrics; - cod = code = font->driver->encode_char (font, c); + code = font->driver->encode_char (font, c); if (code == FONT_INVALID_CODE) continue; g = Fmake_vector (make_number (LGLYPH_SIZE), Qnil); |