shithub: freetype+ttf2subf

Download patch

ref: b24e8d33561e4f5b8976ce1f01aab172dc1c7eb9
parent: a32758f27cb6ff43d652f4e301c24f8b05307cdf
author: Sean McBride <[email protected]>
date: Thu Mar 6 09:54:22 EST 2014

Remove more clang analyzer warnings.

* src/bdf/bdflib.c (_bdf_readstream), src/truetype/ttgload.c
(TT_Load_Glyph): Remove dead stores.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-03-06  Sean McBride  <[email protected]>
+
+	Remove more clang analyzer warnings.
+
+	* src/bdf/bdflib.c (_bdf_readstream), src/truetype/ttgload.c
+	(TT_Load_Glyph): Remove dead stores.
+
 2014-03-05  Werner Lemberg  <[email protected]>
 
 	* builds/unix/configure.raw: Simplify.
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -691,7 +691,6 @@
     lineno  = 1;
     buf[0]  = 0;
     start   = 0;
-    end     = 0;
     avail   = 0;
     cursor  = 0;
     refill  = 1;
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -2346,8 +2346,6 @@
     TT_LoaderRec  loader;
 
 
-    error = FT_Err_Ok;
-
     FT_TRACE1(( "TT_Load_Glyph: glyph index %d\n", glyph_index ));
 
 #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS