diff --git a/ChangeLog b/ChangeLog index f1c7b8d71..72f3419e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-11 Alexei Podtelezhnikov + + [ftstroke] Fix uninitialized return value. + + * src/base/ftstroke.c (FT_Stroker_New): Return FT_Err_Ok instead. + 2012-07-11 Werner Lemberg [smooth] Avoid memory like in case of failure. diff --git a/src/base/ftstroke.c b/src/base/ftstroke.c index 5399efe9d..f488e03d1 100644 --- a/src/base/ftstroke.c +++ b/src/base/ftstroke.c @@ -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; }