ref: 45337b07a7537e6c6bce91799ff05895f381cc21
parent: e7454a47e26272743c96dac5d602c20643ccc06d
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Jul 11 18:12:13 EDT 2012
[ftstroke] Fix uninitialized return value. * src/base/ftstroke.c (FT_Stroker_New): Return FT_Err_Ok instead.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-11 Alexei Podtelezhnikov <[email protected]>
+
+ [ftstroke] Fix uninitialized return value.
+
+ * src/base/ftstroke.c (FT_Stroker_New): Return FT_Err_Ok instead.
+
2012-07-11 Werner Lemberg <[email protected]>
[smooth] Avoid memory like in case of failure.
--- 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;
}