mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 08:48:02 +02:00
* src/truetype/ttdriver.cv (tt_glyph_load): Remover redundancies.
Fixes #1417, found by `cppcheck`.
This commit is contained in:
parent
18a463c2fb
commit
a6d486002d
1 changed files with 0 additions and 9 deletions
|
|
@ -456,15 +456,6 @@
|
|||
FT_Error error;
|
||||
|
||||
|
||||
if ( !slot )
|
||||
return FT_THROW( Invalid_Slot_Handle );
|
||||
|
||||
if ( !size )
|
||||
return FT_THROW( Invalid_Size_Handle );
|
||||
|
||||
if ( !face )
|
||||
return FT_THROW( Invalid_Face_Handle );
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
if ( glyph_index >= (FT_UInt)face->num_glyphs &&
|
||||
!face->internal->incremental_interface )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue