forked from minhngoc25a/freetype2
[autofit] Minor code streamlining.
* src/autofit/afhints.c (af_axis_hints_new_edge): Remove redundant initialization.
This commit is contained in:
parent
378266dc1a
commit
387a9fe73d
|
@ -1,3 +1,10 @@
|
|||
2014-09-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Minor code streamlining.
|
||||
|
||||
* src/autofit/afhints.c (af_axis_hints_new_edge): Remove redundant
|
||||
initialization.
|
||||
|
||||
2014-09-19 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* src/base/ftcalc.c: Harmonize code.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue