mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 07:18:04 +02:00
Fix -Wunused-variable
../src/cairo-quartz-image-surface.c:149:24: warning: unused variable 'size' [-Wunused-variable]
const unsigned int size = surface->imageSurface->height * surface->imageSurface->stride;
This commit is contained in:
parent
288843ef5d
commit
b588a43fcd
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ _cairo_quartz_image_surface_flush (void *asurface,
|
|||
CGImageRef oldImage = surface->image;
|
||||
CGImageRef newImage = NULL;
|
||||
void *image_data;
|
||||
const unsigned int size = surface->imageSurface->height * surface->imageSurface->stride;
|
||||
|
||||
if (flags)
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue