shithub: freetype+ttf2subf

Download patch

ref: c73e160517fafd8e1dae498e40035e06e7eb3c04
parent: b33b856a2753a1b4a23fdac658116883fd9bf7f1
author: Werner Lemberg <[email protected]>
date: Tue Jul 6 06:44:56 EDT 2010

Pacify compiler.

* src/cff/cffload.c (cff_index_get_pointers): Initialize
`new_bytes'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-07-06  Werner Lemberg  <[email protected]>
+
+	Pacify compiler.
+
+	* src/cff/cffload.c (cff_index_get_pointers): Initialize
+	`new_bytes'.
+
 2010-07-05  Eugene A. Shatokhin  <[email protected]>
 
 	Fix Savannah bug #27648.
--- a/src/cff/cffload.c
+++ b/src/cff/cffload.c
@@ -385,10 +385,10 @@
                           FT_Byte***  table,
                           FT_Byte**   pool )
   {
-    FT_Error   error  = CFF_Err_Ok;
-    FT_Memory  memory = idx->stream->memory;
+    FT_Error   error     = CFF_Err_Ok;
+    FT_Memory  memory    = idx->stream->memory;
     FT_Byte**  t;
-    FT_Byte*   new_bytes;
+    FT_Byte*   new_bytes = NULL;
 
 
     *table = NULL;