Commit 2a3a0a84 authored by Igor Saprykin's avatar Igor Saprykin Committed by Eli Zaretskii

Remove unused variable from ftfont.c

* src/ftfont.c (ftfont_lookup_cache): Eliminate unnecessary variable.

Copyright-paperwork-exempt: yes
parent 9dd4ff6e
Pipeline #5362 failed with stage
in 90 minutes and 2 seconds
......@@ -346,18 +346,15 @@ struct ftfont_cache_data
static Lisp_Object
ftfont_lookup_cache (Lisp_Object key, enum ftfont_cache_for cache_for)
Lisp_Object cache, val, entity;
Lisp_Object cache, val;
struct ftfont_cache_data *cache_data;
if (FONT_ENTITY_P (key))
entity = key;
val = assq_no_quit (QCfont_entity, AREF (entity, FONT_EXTRA_INDEX));
val = assq_no_quit (QCfont_entity, AREF (key, FONT_EXTRA_INDEX));
eassert (CONSP (val));
key = XCDR (val);
entity = Qnil;
if (NILP (ft_face_cache))
cache = Qnil;
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