From 286e3f084b2abc5a6b27ad1c9c0d9c3e040c50de Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Fri, 23 Mar 2012 21:51:08 +0100 Subject: Remove now unused or unneeded variables and functions Fixes compiler warnings when -Wunused-variable and -Wunused-functions compiler switches are enabled. Bug #672725. --- rsvg-cairo-draw.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'rsvg-cairo-draw.c') diff --git a/rsvg-cairo-draw.c b/rsvg-cairo-draw.c index 612c2278..11bc8f35 100644 --- a/rsvg-cairo-draw.c +++ b/rsvg-cairo-draw.c @@ -43,12 +43,6 @@ static const cairo_user_data_key_t surface_pixel_data_key; -static void -rsvg_pixmap_destroy (gchar * pixels, gpointer data) -{ - g_free (pixels); -} - static void _pattern_add_rsvg_color_stops (cairo_pattern_t * pattern, GPtrArray * stops, guint32 current_color_rgb, guint8 opacity) @@ -574,7 +568,6 @@ rsvg_cairo_render_surface (RsvgDrawingCtx *ctx, int width, height; double dwidth, dheight; - int j; RsvgBbox bbox; if (surface == NULL) -- cgit v1.2.1