From 0fe47c14e8359db80eda2c29d613346d43034814 Mon Sep 17 00:00:00 2001 From: Chris Guillott Date: Tue, 1 Nov 2016 20:43:25 -0400 Subject: [PATCH] comment out (seemingly?) unused code to remove warnings --- blur.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blur.c b/blur.c index a5b0bd3..94ff42a 100644 --- a/blur.c +++ b/blur.c @@ -32,7 +32,7 @@ blur_image_surface (cairo_surface_t *surface, int radius) { cairo_surface_t *tmp; int width, height; - int src_stride, dst_stride; +// int src_stride, dst_stride; uint32_t *src, *dst; if (cairo_surface_status (surface)) @@ -64,10 +64,10 @@ blur_image_surface (cairo_surface_t *surface, int radius) return; src = (uint32_t*)cairo_image_surface_get_data (surface); - src_stride = cairo_image_surface_get_stride (surface); +// src_stride = cairo_image_surface_get_stride (surface); dst = (uint32_t*)cairo_image_surface_get_data (tmp); - dst_stride = cairo_image_surface_get_stride (tmp); +// dst_stride = cairo_image_surface_get_stride (tmp); //blur_impl_naive(src, dst, width, height, src_stride, dst_stride, 10000); //blur_impl_sse2(src, dst, width, height, 4.5);