summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-06-10 05:52:42 +0200
committerTimm Bäder <mail@baedert.org>2020-06-10 05:52:42 +0200
commit3c5c50d547e4ca81696b16dffe34741611f094eb (patch)
tree877d80b57a422464bb5517aef838c0a8e48040b8 /pango
parent9983edf5294d2ae29dde8e49c7d4b94bff970ea1 (diff)
downloadpango-3c5c50d547e4ca81696b16dffe34741611f094eb.tar.gz
pangofc-fontmap: Avoid a dead assignment
I believe this was meant to assign to variable and not res.
Diffstat (limited to 'pango')
-rw-r--r--pango/pangofc-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index b0c8365d..8aa27c1e 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -1468,7 +1468,7 @@ ensure_families (PangoFcFontMap *fcfontmap)
{
variable = FALSE;
#ifdef FC_VARIABLE
- res = FcPatternGetBool (fontset->fonts[i], FC_VARIABLE, 0, &variable);
+ variable = FcPatternGetBool (fontset->fonts[i], FC_VARIABLE, 0, &variable);
#endif
if (variable)
temp_family->variable = TRUE;