* src/cff/cf2font.c (cf2_getGlyphWidth): Initialize `advWidth'.

Problem reported by Ingmar Sittl <ingmar.sittl@elektrobit.com>.
This commit is contained in:
Werner Lemberg 2013-06-04 20:18:57 +02:00
parent 8d8508e4d2
commit d963498faf
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-06-04 Werner Lemberg <wl@gnu.org>
* src/cff/cf2font.c (cf2_getGlyphWidth): Initialize `advWidth'.
Problem reported by Ingmar Sittl <ingmar.sittl@elektrobit.com>.
2013-06-04 Werner Lemberg <wl@gnu.org>
Apply fixes for cppcheck nitpicks.

View File

@ -331,7 +331,7 @@
FT_Vector advancePoint;
#endif
CF2_Fixed advWidth;
CF2_Fixed advWidth = 0;
FT_Bool needWinding;