Remove more clang analyzer warnings.

* src/bdf/bdflib.c (_bdf_readstream), src/truetype/ttgload.c
(TT_Load_Glyph): Remove dead stores.
This commit is contained in:
Sean McBride 2014-03-06 14:54:22 +01:00 committed by Werner Lemberg
parent a32758f27c
commit b24e8d3356
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2014-03-06 Sean McBride <sean@rogue-research.com>
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 <wl@gnu.org>
* builds/unix/configure.raw: Simplify.

View File

@ -691,7 +691,6 @@
lineno = 1;
buf[0] = 0;
start = 0;
end = 0;
avail = 0;
cursor = 0;
refill = 1;

View File

@ -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