[ftstroke] Fix uninitialized return value.

* src/base/ftstroke.c (FT_Stroker_New): Return FT_Err_Ok instead.
This commit is contained in:
Alexei Podtelezhnikov 2012-07-11 22:12:13 -04:00
parent e7454a47e2
commit 45337b07a7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-07-11 Alexei Podtelezhnikov <apodtele@gmail.com>
[ftstroke] Fix uninitialized return value.
* src/base/ftstroke.c (FT_Stroker_New): Return FT_Err_Ok instead.
2012-07-11 Werner Lemberg <wl@gnu.org>
[smooth] Avoid memory like in case of failure.

View File

@ -789,7 +789,6 @@
FT_Stroker_New( FT_Library library,
FT_Stroker *astroker )
{
FT_Error error;
FT_Memory memory;
FT_Stroker stroker = NULL;
@ -809,7 +808,7 @@
*astroker = stroker;
return error;
return FT_Err_Ok;
}