summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-shapes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-shapes.cpp')
-rw-r--r--src/cairo-shapes.cpp2
1 files changed, 0 insertions, 2 deletions
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;
}