From b93f20ab7ad610c986497243ca963ca79013411c Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Mon, 3 Oct 2022 15:10:12 +0000 Subject: [PATCH] * src/cache/ftcbasic.c (ftc_basic_family_get_count): Remove redundancy. --- src/cache/ftcbasic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cache/ftcbasic.c b/src/cache/ftcbasic.c index 68ca40efe..bc0005278 100644 --- a/src/cache/ftcbasic.c +++ b/src/cache/ftcbasic.c @@ -120,8 +120,7 @@ } #endif - if ( !error ) - result = (FT_UInt)face->num_glyphs; + result = (FT_UInt)face->num_glyphs; return result; }