Commit b93f20ab7ad610c986497243ca963ca79013411c

Alexei Podtelezhnikov 2022-10-03T15:10:12

* src/cache/ftcbasic.c (ftc_basic_family_get_count): Remove redundancy.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/cache/ftcbasic.c b/src/cache/ftcbasic.c
index 68ca40e..bc00052 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;
   }