summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2022-03-22 12:09:09 -0700
committerJohn Ralls <jralls@ceridwen.us>2022-03-22 12:09:09 -0700
commit9093ffd69850b630622a3fc8dcf09c45c51ae2f9 (patch)
treece826fc8883d9086debb131735b016b4ad569a1b
parent37a427018c92a2bc679ef104097e07a619609c9c (diff)
downloadpango-9093ffd69850b630622a3fc8dcf09c45c51ae2f9.tar.gz
Coretext: fix clang build failure.
Recent versions of clang notice that pango_core_text_fontset_load_font's `key` local variable isn't used and errors out. Remove it.
-rw-r--r--pango/pangocoretext-fontmap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
index 40e62eed..e090bfc4 100644
--- a/pango/pangocoretext-fontmap.c
+++ b/pango/pangocoretext-fontmap.c
@@ -1696,11 +1696,8 @@ static PangoFont *
pango_core_text_fontset_load_font (PangoCoreTextFontset *ctfontset,
CTFontDescriptorRef ctdescriptor)
{
- PangoCoreTextFontsetKey *key;
PangoCoreTextFont *font;
- key = pango_core_text_fontset_get_key (ctfontset);
-
/* For now, we will default the fallbacks to not have synthetic italic,
* in the future this may be improved.
*/