Fix compile warnings for ragel-generated machines
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 14 Feb 2013 16:05:36 +0000 (11:05 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 14 Feb 2013 16:58:13 +0000 (11:58 -0500)
src/hb-ot-shape-complex-indic-machine.rl
src/hb-ot-shape-complex-myanmar-machine.rl
src/hb-ot-shape-complex-sea-machine.rl

index 11115c9..f9f07d8 100644 (file)
@@ -103,7 +103,7 @@ main := |*
 static void
 find_syllables (hb_buffer_t *buffer)
 {
-  unsigned int p, pe, eof, ts HB_UNUSED, te, act;
+  unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED;
   int cs;
   hb_glyph_info_t *info = buffer->info;
   %%{
index 949fde6..51d42dd 100644 (file)
@@ -102,7 +102,7 @@ main := |*
 static void
 find_syllables (hb_buffer_t *buffer)
 {
-  unsigned int p, pe, eof, ts HB_UNUSED, te, act;
+  unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED;
   int cs;
   hb_glyph_info_t *info = buffer->info;
   %%{
index 434be6b..46140fc 100644 (file)
@@ -79,7 +79,7 @@ main := |*
 static void
 find_syllables (hb_buffer_t *buffer)
 {
-  unsigned int p, pe, eof, ts HB_UNUSED, te, act;
+  unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED;
   int cs;
   hb_glyph_info_t *info = buffer->info;
   %%{