From: Igor Saprykin Date: Thu, 23 Apr 2020 20:00:26 +0000 (-0700) Subject: Remove unused variable from ftfont.c X-Git-Tag: emacs-28.0.90~7515 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a3a0a843f66db6f693e084b2fbd40eeda70afbc;p=emacs.git Remove unused variable from ftfont.c * src/ftfont.c (ftfont_lookup_cache): Eliminate unnecessary variable. Copyright-paperwork-exempt: yes --- diff --git a/src/ftfont.c b/src/ftfont.c index 6b549c3ddf2..696f5e65341 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -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); } - else - entity = Qnil; if (NILP (ft_face_cache)) cache = Qnil;