[cairo-commit] src/cairo-clip.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed May 5 02:24:49 PDT 2010
src/cairo-clip.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 5f878f917980cde145d4c385b0c0b66336c0f454
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed May 5 10:24:14 2010 +0100
clip: Trivial compiler warning
cairo-clip.c: In function â_cairo_clip_path_reapply_clip_path_translateâ:
cairo-clip.c:446: warning: suggest parentheses around assignment used as
truth value
diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index 0b51125..939eb1a 100644
--- a/src/cairo-clip.c
+++ b/src/cairo-clip.c
@@ -443,7 +443,8 @@ _cairo_clip_path_reapply_clip_path_translate (cairo_clip_t *clip,
clip_path->flags = other_path->flags;
if (other_path->region != NULL) {
clip_path->region = cairo_region_copy (other_path->region);
- if (unlikely (status = clip_path->region->status)) {
+ status = clip_path->region->status;
+ if (unlikely (status)) {
clip->path = clip->path->prev;
_cairo_clip_path_destroy (clip_path);
return status;
More information about the cairo-commit
mailing list