]> granicus.if.org Git - graphviz/commitdiff
remove a debugging fprintf and some redundant #includes
authorellson <devnull@localhost>
Sun, 11 Jun 2006 14:17:45 +0000 (14:17 +0000)
committerellson <devnull@localhost>
Sun, 11 Jun 2006 14:17:45 +0000 (14:17 +0000)
plugin/gd/gvplugin_gd.c
plugin/gd/gvrender_gd.c

index 9a89b7f474409955c8b921607bcce5115a2fb2bb..e17078d7bc8067ea52e34e7ea8d5c212296370e7 100644 (file)
@@ -24,7 +24,7 @@ static gvplugin_api_t apis[] = {
     {API_render, &gvrender_gd_types},
     {API_render, &gvrender_gd_ps_types},
     {API_textlayout, &gvtextlayout_gd_types},
-    {(api_t)0, NULL},
+    {(api_t)0, 0},
 };
 
 gvplugin_library_t gvplugin_gd_LTX_library = { "gd", apis };
index c113fcecfd19e231fac847be490a45ff100c9f11..13206c273e473cdd9364d04375ff78a897f54e79 100644 (file)
@@ -22,7 +22,6 @@
 #include <stddef.h>
 #include <string.h>
 #include <fcntl.h>
-#include <math.h>
 
 #include "gvplugin_render.h"
 
@@ -689,8 +688,6 @@ gdgen_usershape(GVJ_t * job, usershape_t *us, boxf b, bool filled)
 {
     gdImagePtr im3, im2 = NULL, im = (gdImagePtr) job->surface;
 
-fprintf(stderr,"b = %g,%g,%g,%g\n", b.LL.x, b.LL.y, b.UR.x, b.UR.y);
-
     if (us->data) {
        if (us->datafree == gdgen_freeimage)
              im2 = (gdImagePtr)(us->data);  /* use cached data */