diff options
author | Werner Lemberg <wl@gnu.org> | 2019-04-23 06:52:07 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2019-04-23 06:52:07 +0200 |
commit | 6abce2c2b04a14bd711d5d0fee3ba23e9612a747 (patch) | |
tree | 90f099c2ac9bcfdc6ce52af32a96703ddb70a2e0 /src/sfnt/ttcmap.c | |
parent | 4166c453601e856fa61e8994085f240d8771e980 (diff) | |
download | freetype2-6abce2c2b04a14bd711d5d0fee3ba23e9612a747.tar.gz |
* src/sfnt/ttcmap.c (tt_cmap12_next): Remove dead code.
Found by clang 8.0's static analyzer and reported by Sender Ghost
<lightside@gmx.com>.
Diffstat (limited to 'src/sfnt/ttcmap.c')
-rw-r--r-- | src/sfnt/ttcmap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c index 32ad301ff..683f3b181 100644 --- a/src/sfnt/ttcmap.c +++ b/src/sfnt/ttcmap.c @@ -2368,10 +2368,7 @@ /* if `gindex' is invalid, the remaining values */ /* in this group are invalid, too */ if ( gindex >= (FT_UInt)face->num_glyphs ) - { - gindex = 0; continue; - } cmap->cur_charcode = char_code; cmap->cur_gindex = gindex; |