[cairo-commit] 2 commits - src/cairo-directfb-surface.c src/cairo-image-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Sun Oct 19 03:38:53 PDT 2008
src/cairo-directfb-surface.c | 4 ++--
src/cairo-image-surface.c | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 476d17fa788fcf173e58b963540c6557f846ceed
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Oct 19 11:35:27 2008 +0100
[directfb] Compile fix.
Fixup compilation after 901f0b.
diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
index 57bc654..f824680 100644
--- a/src/cairo-directfb-surface.c
+++ b/src/cairo-directfb-surface.c
@@ -768,8 +768,8 @@ _directfb_prepare_composite (cairo_directfb_surface_t *dst,
CAIRO_CONTENT_COLOR_ALPHA, 1, 1);
if (dst->color == NULL)
return CAIRO_INT_STATUS_UNSUPPORTED;
- if (dst->color->base.status)
- return (dst->color->base.status);
+ if (dst->color->status)
+ return dst->color->status;
}
src = (cairo_directfb_surface_t *)dst->color;
commit d72969289db62b38ca024a41c0d8e0df480e7f8c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Oct 19 09:47:33 2008 +0100
[image] Remove unused variable.
Cleanup the compiler warning for the unused status after code shuffling.
diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index 68adb6a..95363c4 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -263,7 +263,6 @@ _cairo_image_surface_create_with_masks (unsigned char *data,
int height,
int stride)
{
- cairo_int_status_t status;
pixman_format_code_t pixman_format;
if (! _pixman_format_from_masks (masks, &pixman_format)) {
More information about the cairo-commit
mailing list