From 87a146d60a528ce771836fe8046027b60f4d2890 Mon Sep 17 00:00:00 2001 From: ellson Date: Sun, 11 Jun 2006 14:17:45 +0000 Subject: [PATCH] remove a debugging fprintf and some redundant #includes --- plugin/gd/gvplugin_gd.c | 2 +- plugin/gd/gvrender_gd.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/plugin/gd/gvplugin_gd.c b/plugin/gd/gvplugin_gd.c index 9a89b7f47..e17078d7b 100644 --- a/plugin/gd/gvplugin_gd.c +++ b/plugin/gd/gvplugin_gd.c @@ -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 }; diff --git a/plugin/gd/gvrender_gd.c b/plugin/gd/gvrender_gd.c index c113fcecf..13206c273 100644 --- a/plugin/gd/gvrender_gd.c +++ b/plugin/gd/gvrender_gd.c @@ -22,7 +22,6 @@ #include #include #include -#include #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 */ -- 2.40.0