diff options
author | Timm Bäder <mail@baedert.org> | 2020-06-10 05:52:42 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-06-10 05:52:42 +0200 |
commit | 3c5c50d547e4ca81696b16dffe34741611f094eb (patch) | |
tree | 877d80b57a422464bb5517aef838c0a8e48040b8 /pango/pangofc-fontmap.c | |
parent | 9983edf5294d2ae29dde8e49c7d4b94bff970ea1 (diff) | |
download | pango-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/pangofc-fontmap.c')
-rw-r--r-- | pango/pangofc-fontmap.c | 2 |
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; |