Remove dead code
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 31 Jul 2011 20:58:31 +0000 (16:58 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 8 Sep 2011 15:12:55 +0000 (11:12 -0400)
modules/basic/basic-win32.c

index 810d2a2..487056b 100644 (file)
@@ -865,25 +865,8 @@ PANGO_MODULE_ENTRY(list) (PangoEngineInfo **engines,
   script_engines[0].scripts = basic_scripts;
   script_engines[0].n_scripts = G_N_ELEMENTS (basic_scripts);
 
-#if 0
-  int i;
-  GArray *ranges = g_array_new (FALSE, FALSE, sizeof (PangoEngineRange));
-
-  /* Walk through scripts supported by the Uniscribe implementation on this
-   * machine, and mark corresponding Unicode ranges.
-   */
-  for (i = 0; i < nscripts; i++)
-    {
-    }
-
-  /* Sort range array */
-  g_array_sort (ranges, compare_range);
-  script_engines[0].ranges = ranges;
-  script_engines[0].n_ranges = ranges->len;
-#else
   script_engines[0].scripts = uniscribe_scripts;
   script_engines[0].n_scripts = G_N_ELEMENTS (uniscribe_scripts);
-#endif
 
   *engines = script_engines;
   *n_engines = G_N_ELEMENTS (script_engines);