[ftstroke] Fix uninitialized return value.
* src/base/ftstroke.c (FT_Stroker_New): Return FT_Err_Ok instead.
This commit is contained in:
parent
e7454a47e2
commit
45337b07a7
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue