mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 03:18:05 +02:00
[cairo-type1-subset] Remove the unused return value.
Nobody actually used the index returned by cairo_type1_font_subset_use_glyph(), so remove it.
This commit is contained in:
parent
fd8bf67853
commit
daf77ed3cb
1 changed files with 3 additions and 6 deletions
|
|
@ -190,16 +190,13 @@ _cairo_type1_font_subset_create (cairo_unscaled_font_t *unscaled_font,
|
|||
return status;
|
||||
}
|
||||
|
||||
static int
|
||||
static void
|
||||
cairo_type1_font_subset_use_glyph (cairo_type1_font_subset_t *font, int glyph)
|
||||
{
|
||||
if (font->glyphs[glyph].subset_index >= 0)
|
||||
return font->glyphs[glyph].subset_index;
|
||||
return;
|
||||
|
||||
font->glyphs[glyph].subset_index = font->num_glyphs;
|
||||
font->num_glyphs++;
|
||||
|
||||
return font->glyphs[glyph].subset_index;
|
||||
font->glyphs[glyph].subset_index = font->num_glyphs++;
|
||||
}
|
||||
|
||||
static cairo_bool_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue