diff --git a/ChangeLog b/ChangeLog index 14b5ed7a6..de1e06a1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-09-22 Werner Lemberg + + [autofit] Minor code streamlining. + + * src/autofit/afhints.c (af_axis_hints_new_edge): Remove redundant + initialization. + 2014-09-19 Alexei Podtelezhnikov * src/base/ftcalc.c: Harmonize code. diff --git a/src/autofit/afhints.c b/src/autofit/afhints.c index 88a97d45e..ec6142605 100644 --- a/src/autofit/afhints.c +++ b/src/autofit/afhints.c @@ -74,7 +74,8 @@ } - /* Get new edge for given axis, direction, and position. */ + /* Get new edge for given axis, direction, and position, */ + /* without initializing the edge itself. */ FT_LOCAL( FT_Error ) af_axis_hints_new_edge( AF_AxisHints axis, @@ -130,10 +131,6 @@ axis->num_edges++; - FT_ZERO( edge ); - edge->fpos = (FT_Short)fpos; - edge->dir = (FT_Char)dir; - Exit: *anedge = edge; return error;