missing variable initialization for glyph_names for FT2
authorTony Cook <tony@develop-help.com>
Fri, 1 Mar 2013 12:07:06 +0000 (23:07 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 1 Mar 2013 12:07:06 +0000 (23:07 +1100)
FT2/FT2.xs

index c4f2c3b..5ecdcd0 100644 (file)
@@ -281,7 +281,7 @@ i_ft2_glyph_name(handle, text_sv, utf8 = 0, reliable_only = 1)
         STRLEN work_len;
         size_t len;
         char name[255];
-       SSize_t count;
+       SSize_t count = 0;
       PPCODE:
         i_clear_error();
         text = SvPV(text_sv, work_len);