Commit 297dc2235a293f4e4b653ebd3cdd87105e8e4625

Werner Lemberg 2010-01-05T20:48:57

Another clang fix.

diff --git a/ChangeLog b/ChangeLog
index 49cd248..8772521 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,7 @@
 	(FT_GlyphSlot_Embolden): Remove dead code.
 
 	* src/base/ftpatent.c (_tt_check_patents_in_table): Initialize
-	`offset_i'.
+	`offset_i' and `length_i'.
 
 2010-01-05  Ralph Giles  <giles@ghostscript.com>
 
diff --git a/src/base/ftpatent.c b/src/base/ftpatent.c
index baad4da..501cab5 100644
--- a/src/base/ftpatent.c
+++ b/src/base/ftpatent.c
@@ -124,7 +124,7 @@
     if ( service )
     {
       FT_UInt   i = 0;
-      FT_ULong  tag_i = 0, offset_i = 0, length_i;
+      FT_ULong  tag_i = 0, offset_i = 0, length_i = 0;
 
 
       for ( i = 0; !error && tag_i != tag ; i++ )