From c8e35e9a7c27897ebcc7a4f6b49c1ed25280b0ff Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 29 May 2014 17:22:57 -0700 Subject: cairo-shapes: Drop unused height and width when creating bitmap patterns --- src/cairo-shapes.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cairo-shapes.cpp') diff --git a/src/cairo-shapes.cpp b/src/cairo-shapes.cpp index 5ca5cef..3cb8b4b 100644 --- a/src/cairo-shapes.cpp +++ b/src/cairo-shapes.cpp @@ -54,8 +54,6 @@ cairoCreateBitmapPattern (const char *image_path) cairo_surface_t *image = NULL; cairo_pattern_t *pattern; image = cairo_image_surface_create_from_png (image_path); - int w = cairo_image_surface_get_width (image); - int h = cairo_image_surface_get_height (image); pattern = cairo_pattern_create_for_surface (image); return pattern; } -- cgit v1.3.1-4-g156e