]> granicus.if.org Git - graphviz/commitdiff
remove commented out code in gvdevice_gd.c
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 18 May 2021 00:05:32 +0000 (17:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 28 May 2021 03:15:10 +0000 (20:15 -0700)
plugin/gd/gvdevice_gd.c

index 069f5491b8746268d42144ed9ceac982412365ca..dcb8552aaa8f44c1c19753c78349ea6f28979fa4 100644 (file)
@@ -140,13 +140,6 @@ static void gd_format(GVJ_t * job)
        break;
 #endif
 
-#if 0
-/* libgd only supports reading of xpm files */
-#ifdef HAVE_GD_XPM
-    case FORMAT_XBM:
-       gdImageXbm(im, job->output_file);
-#endif
-#endif
        break;
     default:
        break;
@@ -200,13 +193,6 @@ gvplugin_installed_t gvdevice_gd_types[] = {
     {FORMAT_GD, "gd:cairo", 5, &gd_engine, &device_features_gd_no_writer},
     {FORMAT_GD2, "gd2:cairo", 5, &gd_engine, &device_features_gd_no_writer},
 
-#if 0
-/* libgd only supports reading of xpm files */
-#ifdef HAVE_GD_XPM
-    {FORMAT_XBM, "xbm:cairo", 5, &gd_engine, &device_features_gd},
-#endif
-#endif
-
 #endif
     {0, NULL, 0, NULL, NULL}
 };